miivefa {MIIVefa} | R Documentation |
Exploratory Factor Analysis Using Model Implied Instrumental Variables.
Description
This function is the user-level function that conducts miivefa.
Usage
miivefa(data,
sigLevel = .05,
scalingCrit = "sargan+factorloading_R2",
correlatedErrors = NULL)
Arguments
data |
A data frame, list or environment or an object coercible by as.data.frame to data frame. The most common application is to supply a data.frame. |
sigLevel |
The significance level threshold, default is .05. |
scalingCrit |
The criterion used to select the scaling indicators, default is 'factorloading_R2.'
More details see |
correlatedErrors |
The pairs of variables whose errors should be correlated in the model search procedure, default is NULL. |
Value
A miivefa object containing a vector of the recovered model syntax, and a miivsem object of model fit of the recovered model when applicable. The recovered model syntax and miivsem fit object can be accessed using output$model and output$fit. The output$model miivsem object contains both parameter estimation and model fit information.