1) I believe you wanted a scree plot which shows the percentage of variance explained (y-axis) versus the principal components (x-axis). To do that, all you needs a simple plot(x,y) function where x = pc and y = variance. It is called a scree plot because the plot looks like a scree on the side of the mountain.

2) you can find the details of the components using names(x) where x= the output from your pca command


Muhammad



On 05/02/2010 01:06 AM, Philip Wong wrote:
hello,
I've two questions today.
1) I'm trying to do a scree diagram, I did a Google for a specific command I
could used to do so.  All I could find is a screeplot.  Are they the same
command?

2) what command can I used to present a PC scores, eigenvectors of the PC
scores, and component correlations?

thanks!


______________________________________________
R-help@r-project.org 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.

Reply via email to