The plot shows the variation for each component and mypc$sdev gives you the 
standard deviation. 
If you want to know the variation, use mypc$sdev^2.

-----Original Message-----
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On 
Behalf Of Dimitri Liakhovitski
Sent: Donnerstag, 21. März 2013 12:26
To: r-help
Subject: [R] values for the scree plot (package psych)

Hello,

I am using function princomp from the package psych.
I have my principle component object mypc:

mypc <- princomp(covmat=mycor)

plot(mypc)  # shows me a screeplot

Question: how could I actually see the values displayed in the screeplot. I 
don't mean on the graph - I just want to know the actual value for each 
component (e.g., 10, 3.2, 1.8, etc.)

I need to know how much variance, in total, a certain number of comonents 
explain.

Thanks a lot!



--
Dimitri Liakhovitski

        [[alternative HTML version deleted]]

______________________________________________
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.

______________________________________________
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