user3566160
user3566160

Reputation: 21

How can I calculate factor scores with R?

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

Answers (1)

Fedorenko Kristina
Fedorenko Kristina

Reputation: 2767

You can try this:

pcaResult<-princomp(data)
pc=pcaResult$scores

Upvotes: 2

Related Questions