View source: R/factor_scores.R
| factor_scores | R Documentation |
factor_scores() extracts the factor scores from objects returned by
psych::fa(), factor_analysis(), or psych::omega()
factor_scores(x, ...)
x |
An object returned by |
... |
Currently unused. |
A data frame with the factor scores. It simply extracts the $scores
element from the object and converts it into a data frame.
factor_analysis()
data(mtcars)
out <- factor_analysis(mtcars[, 1:7], n = 2)
head(factor_scores(out))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.