Re: [R] Biplot: plot group name instead of row number

2010-10-23 Thread Uwe Ligges
On 21.10.2010 00:39, Alejo C.S. wrote: Dear list, I'm trying to make a biplot, but instead of plotting the row number for each observation, plot a group factor. Example: prcomp(iris[,1:4]) -> PCA biplot(PCA) #this makes a nice biplot but with row names Instead of row numbers I want to

[R] Biplot: plot group name instead of row number

2010-10-20 Thread Alejo C.S.
Dear list, I'm trying to make a biplot, but instead of plotting the row number for each observation, plot a group factor. Example: prcomp(iris[,1:4]) -> PCA biplot(PCA) #this makes a nice biplot but with row names Instead of row numbers I want to plot iris[,5], which is a factor. I can do thi