Learn R Programming

esem (version 2.0.0)

esem_syntax_mplus: 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)

Value

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

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.