Create a model syntax for ESEM-with-CFA
esem_syntax(esem_efa_results, referent_list = NULL)A character vector with a lavaan syntax for the ESEM model.
is a psych::fa() object with the results of exploratory factor analysis (EFA) The object can be created using psych::fa() or a wrapper esem_efa() function
is a list with latent variables (factors) and their corresponding referent items. referent_list can be generated using create_referent() function. If no referent_list is provided, the list is generated automatically