esem_syntax | R Documentation |
Create a model syntax for ESEM-with-CFA
esem_syntax(esem_efa_results, referent_list = NULL)
esem_efa_results |
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 |
referent_list |
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 |
A character vector with a lavaan syntax for the ESEM model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.