FA | R Documentation |
FA
performs common factor analysis
FA(data, nfactors = NULL, rotate = "none", fm = "pa", digits = 2, ...)
data |
a data frame or correlation matrix. |
nfactors |
nuber of factors to extract. |
rotate |
factor rotation to perform. |
fm |
type of factor extraction. |
digits |
number of digits to retain. |
... |
parameters passed to the |
The FA
function is a wrapper for the psych:fa
function.
Factor extractions include principal axis (pa
) and maximum likelihood
(ml
), among others. Factor rotations include none
, varimax
,
and promax
.
returns a list with 5 components:
call |
the call |
loadings |
factor pattern |
variance |
variance accounted for |
Structure |
structure matrix |
phi |
factor intercorrelations for oblique rotations |
scores |
factor scores if factors are extracted from a data frame |
fit.fa <- FA(Harman74.cor$cov, nfactors=4, rotate="varimax")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.