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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of xin Sent: Thursday, April 29, 2004 21:22 To: [EMAIL PROTECTED] 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 ______________________________________________ [EMAIL PROTECTED] 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 ______________________________________________ [EMAIL PROTECTED] 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