EGM.compare {EGAnet} | R Documentation |
Compare EGM
with EFA
Description
Estimates an EGM
based on EGA
and
uses the number of communities as the number of dimensions in exploratory factor analysis
(EFA) using fa
Usage
EGM.compare(
data,
constrain.structure = FALSE,
constrain.zeros = FALSE,
rotation = "geominQ",
...
)
Arguments
data |
Matrix or data frame. Should consist only of variables to be used in the analysis. Can be raw data or a correlation matrix |
constrain.structure |
Boolean (length = 1).
Whether memberships of the communities should
be added as a constraint when optimizing the network loadings.
Defaults to #' Note: This default differs from |
constrain.zeros |
Boolean (length = 1).
Whether zeros in the estimated network loading matrix should
be retained when optimizing the network loadings.
Defaults to Note: This default differs from |
rotation |
Character.
A rotation to use to obtain a simpler structure for EFA.
For a list of rotations, see |
... |
Additional arguments to be passed on to
|
Author(s)
Hudson F. Golino <hfg9s at virginia.edu> and Alexander P. Christensen <alexpaulchristensen@gmail.com>
Examples
# Get depression data
data <- depression[,24:44]
# Compare EGM (using EGA) with EFA
## Not run:
results <- EGM.compare(data)
# Print summary
summary(results)
## End(Not run)