- data
a data.frame
containing the variables (i.e., items) to factor analyze
- variables
character vector of column names in data
indicating the variables to factor analyze. Default is to use all columns.
- m
integer; maximum number of factors to extract. Default is 4 items per factor.
- rotation
character (case-sensitive); any rotation method listed in
rotations
in the GPArotation
package. Default is "oblimin".
- simple
logical; Should the perfect simple structure be returned (default) when converting EFA results to CFA syntax?
If FALSE
, items can cross-load on multiple factors.
- min.loading
numeric between 0 and 1 indicating the minimum (absolute) value of the loading for a variable on a factor
when converting EFA results to CFA syntax. Must be specified when simple = FALSE
.
- single.item
character indicating how single-item factors should be treated.
Use "keep"
(default) to keep them in the model when generating the CFA syntax, "drop"
to remove them, or "none"
indicating the CFA syntax should not be generated for
this model and ""
is returned.
- identified
logical; Should identification check for rotational uniqueness a la Millsap (2001) be performed?
If the model is not identified ""
is returned.
- constrain0
logical; Should variable(s) with all loadings below min.loading
still be included in model syntax?
If TRUE
, variable(s) will load onto first factor with the loading constrained to 0.
- ordered
logical; Should items be treated as ordinal and the
polychoric correlations used in the factor analysis? When FALSE
(default)
the Pearson correlation matrix is used. A character vector of item names is
also accepted to prompt estimation of the polychoric correlation matrix.
- estimator
if ordered = FALSE
, the default is "MLMVS". If
ordered = TRUE
, the default is "WLSMV". See lavOptions
for other options.
- missing
default is "listwise". See lavOptions
for other options.
- ...
other arguments passed to lavaan
functions. See lavOptions
.