This function is the user-level function that conducts miivefa.
miivefa(data,
sigLevel = .05,
scalingCrit = "sargan+factorloading_R2",
correlatedErrors = NULL)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.
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.
The significance level threshold, default is .05.
The criterion used to select the scaling indicators, default is 'factorloading_R2.'
More details see select_scalingind
The pairs of variables whose errors should be correlated in the model search procedure, default is NULL.