xin,
data(USArrests)
biplot(princomp(USArrests)) # This plots the default 1st and 2nd components
biplot(princomp(USArrests),choices=c(1,3)) # use "choices" to plot
other
components...in this case 1st and 3rd
Bill
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of xin
Sent: Thursday, April 29, 2004 21:22
To: r-help at stat.math.ethz.ch
Subject: [R] how to use biplot to show PC1 and PC3 or else?
hello:
I am trying to use biplot show relationship between PC1 and PC3 of princomp.
There is example showing how to do it with PC1 and PC2. But I am totally out
of idea for PC1 and PC3. Thanks very much for your kind help.
Best Wishes,
yours,
xin
______________________________________________
R-help at stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html