efast_efa | R Documentation |
This function estimates efa models in the same way that efast models are estimated: using lavaan.
efast_efa(
data,
M,
sample.nobs = NULL,
auto.fix.first = FALSE,
auto.var = TRUE,
auto.efa = TRUE,
information = "observed",
std.ov = TRUE,
...
)
data |
<data.frame> the dataset or <matrix> covariance matrix |
M |
<numeric> How many factors, minimum 2 |
sample.nobs |
<numeric> sample size (if data = covmat, see lavaan) |
auto.fix.first |
<bool> see lavaan |
auto.var |
<bool> see lavaan |
auto.efa |
<bool> see lavaan |
information |
<character> see lavaan |
std.ov |
<bool> see lavaan |
... |
other arguments passed to lavaan |
The constrained model constrains the residual covariance to be equal across the different ROIs.
## Not run:
# create a test dataset
test_data <- simulate_efast()
fit_efa <- efast_efa(simdat, M = 4)
summary(fit_efa)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.