[R] PCA and % variance explained
mark_difford at yahoo.co.uk
Tue Sep 9 14:39:38 CEST 2008
>> how do you view how much each component contributes to variance in the
>> dataset ...
It helps to read the help:
Contributions to inertia or variance are reported as standard deviations
(princomp.obj$sdev). So square these values to get the variance accounted
for by each component. For the rest, see loadings sub Value in the help
> After doing a PCA using princomp, how do you view how much each component
> contributes to variance in the dataset. I'm still quite new to the theory
> of PCA - I have a little idea about eigenvectors and eigenvalues (these
> determine the variance explained?). Are the eigenvalues related to
> loadings in R?
View this message in context: http://www.nabble.com/PCA-and---variance-explained-tp19388970p19391466.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help