Hi, If you check the help for princomp, you'll see that it returns all sorts of information in the form of a list. The most convenient way is to save your analysis xresults <- princomp(x, cor=TRUE) then you can look at the scores, plot them yourself, anything else you want xscores <- xresults$scores
and so on. Sarah On 5/13/07, Soare Marcian-Alin <[EMAIL PROTECTED]> wrote: > Hello everybody, > > How could I extract the components of of a PCA to plot it into a biplot? > I want to make pairwise biplots of the first three main components: > > biplot(princomp(x, cor=TRUE)) > biplot(princomp(x[,c(1,2)], cor=TRUE)) > biplot(princomp(x[,c(1,3)], cor=TRUE)) > biplot(princomp(x[,c(2,3)], cor=TRUE)) > > Is this the only way, how I could plot them? > I thought, that it could be possible to extract them of the full PCA .. > > KR, > Alin > -- Sarah Goslee http://www.functionaldiversity.org ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
