esem_syntax_mplus {esem}R Documentation

Create a model syntax for ESEM-with-CFA compatible with MPlus

Description

Create a model syntax for ESEM-with-CFA compatible with MPlus

Usage

esem_syntax_mplus(key_matrix = NULL)

Arguments

key_matrix

is a key matrix with the primary factor items. It can be made with the make.keys() function. The primary factor items in the matrix are used as referent items.

Value

A character vector with a lavaan syntax for the ESEM model that imitates MPlus.


[Package esem version 2.0.0 Index]