[R] Different labels for subsets of points in a PCA or RDA biplot

2009-02-12 Thread David Hewitt
I've tried a few things both with prcomp(), and rda() and its friends in vegan (including biplot.rda and ordiplot), but can't find a solution. I'd like to associate subsets of the points in a resulting biplot (sites in the rda object) with different plotting colors/text styles to emphasize certain

Re: [R] Different labels for subsets of points in a PCA or RDA biplot

2009-02-12 Thread Gavin Simpson
On Thu, 2009-02-12 at 09:42 -0800, David Hewitt wrote: I've tried a few things both with prcomp(), and rda() and its friends in vegan (including biplot.rda and ordiplot), but can't find a solution. I'd like to associate subsets of the points in a resulting biplot (sites in the rda object) with

Re: [R] Different labels for subsets of points in a PCA or RDA biplot

2009-02-12 Thread David Hewitt
Thanks Gavin. Your advice and a little digging got me what I needed. Sorry for not specifying the correct function RE: 'labels' -- I was referring to text() as described in the ordiplot help page. Anyway, here's a code example of what I wanted to do. Probably not the most elegant solution, but it