[R] Label 2 groups in PCA different colours
pgseye
prseye at gmail.com
Sun Sep 7 05:44:47 CEST 2008
Hi,
I'm wanting to do a PCA on some data which is comprised of two different
groups (to see how well the groups are discriminated). Is there a way to
change the colour of the datapoints in a biplot so that I can easily see
which group is which (eg objects 1-100, red, 101-200, black).
Might be simple, but I'm new to R and can't seem to find how to do this.
Thanks.
Paul
--
View this message in context: http://www.nabble.com/Label-2-groups-in-PCA-different-colours-tp19354077p19354077.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list