Reputation: 21
I am doing factor analysis with principal component method in SPSS. As we know, we can get factor scores in SPSS through click "scores" and "save as variables". My question is, i need to get factors scores in R in order to doing more works, so how can i get the same factor scores as in SPSS by R?
Upvotes: 1
Views: 3143
Reputation: 2767
You can try this:
pcaResult<-princomp(data)
pc=pcaResult$scores
Upvotes: 2