Re: [R] convex hull for cluster analysis

2009-11-24 Thread james.foadi
-Original Message- From: Henrique Dallazuanna [mailto:www...@gmail.com] Sent: Tue 24/11/2009 16:10 To: Foadi, James (Imperial Coll.,RAL,DIA) Cc: r-help@r-project.org Subject: Re: [R] convex hull for cluster analysis Try this: plot(Y) polygon(Y[chull(Y),]) Yes! Lovely! Thanks. J

Re: [R] convex hull for cluster analysis

2009-11-24 Thread Henrique Dallazuanna
Try this: plot(Y) polygon(Y[chull(Y),]) On Tue, Nov 24, 2009 at 1:58 PM, wrote: > Dear R gurus and users, > I seem to have problem finding the right tool for plotting convex hulls over > 2D plots, after a cluster analysis. In fact I would like to draw a convex hull > in 2D for a generic group

[R] convex hull for cluster analysis

2009-11-24 Thread james.foadi
Dear R gurus and users, I seem to have problem finding the right tool for plotting convex hulls over 2D plots, after a cluster analysis. In fact I would like to draw a convex hull in 2D for a generic group of points. I found a "convhulln", but this doesn't seem to give me a convex hull. Here is wh