is a wrapper for lavaan::cfa() function
esem_cfa(model, data, mimic = c("MPlus"), std.lv = TRUE, ordered = TRUE)An object of class lavaan::lavaan-class, for which several methods are available, including a summary method.
is a character vector with a lavaan syntax for the ESEM model.
is a raw data matrix.
allows to mimic the final output results (i.e. CFA stage) to MPLUS to allow the user to compare the output.
is set to TRUE by default to provide standardized latent variables.
is set to TRUE by default to allow the use of categorical variables.