EGM.compare: Compare 'EGM' with EFA

View source: R/EGM.compare.R

EGM.compareR 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, constrained = 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

constrained

Boolean (length = 1). Whether memberships of the communities should be added as a constraint when optimizing the network loadings. Defaults to FALSE to freely estimate each loading similar to exploratory factor analysis.

Note: This default differs from EGM. Constraining loadings puts EGM at a deficit relative to EFA and therefore biases the comparability between the methods. It's best to leave the default of unconstrained when using this function.

rotation

Character. A rotation to use to obtain a simpler structure for EFA. For a list of rotations, see rotations for options. Defaults to "geominQ"

...

Additional arguments to be passed on to auto.correlate, network.estimation, community.detection, community.consensus, community.unidimensional, EGA, EGM, net.loads, and fa

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)


hfgolino/EGA documentation built on Nov. 11, 2024, 9:28 p.m.