| efa {jmv} | R Documentation |
Exploratory Factor Analysis
efa(data, vars, nFactorMethod = "parallel", nFactors = 1, minEigen = 1, rotation = "oblimin", hideLoadings = 0.3, screePlot = FALSE, eigen = FALSE, factorCor = FALSE, factorSummary = FALSE, modelFit = FALSE, kmo = FALSE, bartlett = FALSE)
data |
the data as a data frame |
vars |
a vector of strings naming the variables of interest in
|
nFactorMethod |
|
nFactors |
an integer (default: 1), the number of factors in the model |
minEigen |
a number (default: 1), the minimal eigenvalue for a factor to be included in the model |
rotation |
|
hideLoadings |
a number (default: 0.3), hide loadings below this value |
screePlot |
|
eigen |
|
factorCor |
|
factorSummary |
|
modelFit |
|
kmo |
|
bartlett |
|
A results object containing:
results$text | a preformatted | ||||
data('iris')
efa(iris, vars = c('Sepal.Length', 'Sepal.Width', 'Petal.Length', 'Petal.Width'))
#
# EXPLORATORY FACTOR ANALYSIS
#
# Factor Loadings
# ------------------------------------------------
# 1 2 Uniqueness
# ------------------------------------------------
# Sepal.Length 0.993 0.10181
# Sepal.Width 0.725 0.42199
# Petal.Length 0.933 0.00483
# Petal.Width 0.897 0.07088
# ------------------------------------------------
# Note. 'oblimin' rotation was used
#