# Weights and score diagnostics from an EFA on a correlation matrix
efa <- EFA(test_models$baseline$cormat, n_factors = 3, N = 500,
method = "PAF", rotation = "oblimin")
fs <- efa_scores(test_models$baseline$cormat, f = efa)
fs
summary(fs)
# Factor scores from raw data (Bartlett method)
# \donttest{
efa_raw <- EFA(GRiPS_raw, n_factors = 1, method = "PAF")
efa_scores(GRiPS_raw, f = efa_raw, method = "Bartlett")
# }
# Loadings supplied directly, with the factor intercorrelations
efa_scores(test_models$baseline$cormat, f = efa$rot_loadings, Phi = efa$Phi)
Run the code above in your browser using DataLab