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

View source: R/esem_syntax_mplus.R

esem_syntax_mplusR 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.


esem documentation built on July 9, 2023, 6:42 p.m.