Skip to contents

Create an mplusModel object for a given model

Usage

mplusModel(
  syntax = NULL,
  data = NULL,
  inp_file = NULL,
  read = TRUE,
  Mplus_command = NULL
)

Arguments

syntax

a character vector of Mplus input syntax for this model

data

a data.frame to be used for estimating the model

inp_file

the location of .inp file for this model

read

If TRUE and the .out file already exists, read the contents of the .out file using readModels

Mplus_command

The location of the Mplus executable to run. If NULL, use detectMplus()

Value

a mplusModel_r6 object containing information about the model