[R] biplot with grouped observations

From: Kim Milferstedt <milferst_at_uiuc.edu>
Date: Thu 25 May 2006 - 06:43:27 EST


I'd like to plot the results of PCA in biplots, grouping the observations by using different symbols. With xyplot in lattice I can easily differentiate the groups (see for example DAAG, p 285) but it seems difficult (or impossible?) to plot the vectors for the variables as well as xyplot cannot handle secondary axis very well. Using the basic plot I can combine observations and variables in one plot but cannot differentiate the groups of observations as easily as in xyplot. What could I do to get grouped observations in a biplot?

Thanks already,


Kim Milferstedt
University of Illinois at Urbana-Champaign Department of Civil and Environmental Engineering 4125 Newmark Civil Engineering Building
205 North Mathews Avenue MC 250
Urbana, IL 61801
phone: (001) 217 333-9663
fax: (001) 217 333-6968
email: milferst@uiuc.edu

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu May 25 06:54:33 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 25 May 2006 - 08:10:59 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.