Re: [R] plotting other axes for PCA

2008-01-18 Thread Mark Difford
Hi Silvia, >> What I need is exactly what I get using biplot (pca.object) but for other >> axes. You need to look at ?biplot.prcomp (argument: choices=) ## Try biplot(prcomp(USArrests), choices=c(1,2)) ## plots ax1 and ax2 biplot(prcomp(USArrests), choices=c(1,3)) ## plots ax1 and ax3

Re: [R] plotting other axes for PCA

2008-01-18 Thread Prof Brian Ripley
On Fri, 18 Jan 2008, Silvia Lomascolo wrote: > > Hi R-community, > I am doing a PCA and I need plots for different combinations of axes (e.g., > PC1 vs PC3, and PC2 vs PC3) with the arrows indicating the loadings of each > variables. What I need is exactly what I get using biplot (pca.object) but

[R] plotting other axes for PCA

2008-01-18 Thread Silvia Lomascolo
Hi R-community, I am doing a PCA and I need plots for different combinations of axes (e.g., PC1 vs PC3, and PC2 vs PC3) with the arrows indicating the loadings of each variables. What I need is exactly what I get using biplot (pca.object) but for other axes. I have plotted PC2 and 3 using the sc