Re: [R] Color coding plotted numbers

2008-09-10 Thread Wade Wall
Hi all, I realized what I was doing wrong and aplogize about posting before thinkg about it for long enough. If I try to plot the pca results directly (bulbil.pca), I can't do it. But if I extract the axes 1 and 2 and plot directly, I can add col=as.numeric(group.bulbil[,3]) to the text() functi

[R] Color coding plotted numbers

2008-09-10 Thread Wade Wall
Hi all, I have run a pca and want to plot the samples multivariate space using the sample numbers. In addition, I would like to color code the sample numbers by group, but can't find a way to color-code the sample numbers by group. So, I have to do it in two separate steps: plot(bulbil.pca, col