[R] convex hull for cluster analysis

james.foadi at diamond.ac.uk james.foadi at diamond.ac.uk
Tue Nov 24 17:12:36 CET 2009


-----Original Message-----
From: Henrique Dallazuanna [mailto:wwwhsd at gmail.com]
Sent: Tue 24/11/2009 16:10
To: Foadi, James (Imperial Coll.,RAL,DIA)
Cc: r-help at r-project.org
Subject: Re: [R] convex hull for cluster analysis
 
Try this:


plot(Y)
polygon(Y[chull(Y),])



Yes! Lovely!

Thanks.

J

Dr James Foadi PhD
Membrane Protein Laboratory (MPL)
Diamond Light Source Ltd
Diamond House
Harewell Science and Innovation Campus
Chilton, Didcot
Oxfordshire OX11 0DE

Email    :  james.foadi at diamond.ac.uk
Alt Email:  j.foadi at imperial.ac.uk

-- 
This e-mail and any attachments may contain confidential...{{dropped:8}}




More information about the R-help mailing list