PCA 1, 2, and 3 refer to the scores not the loadings.
Check out the help for princomp.
?princomp
pc.cr <- princomp(USArrests, cor = TRUE)
pc.cr$scores[1:3, ]
Jean
On Tue, Mar 31, 2015 at 4:26 PM, im db wrote:
> Dear All, I want to use princomp() function in R in order to calculate
> Principl
Dear All, I want to use princomp() function in R in order to calculate
Principle Component Analysis.In different papers, I have seen "PCA 1", "PCA 2",
"PCA 11" , etc. Would you please tell me how can i calculate different PCAs in
R?At the moment i just use this line "eigenVectors <- pca$loadings
2 matches
Mail list logo