estimate_mplus: Estimate tidy_sem using 'Mplus'

View source: R/syntax-estimate.R

estimate_mplusR Documentation

Estimate tidy_sem using 'Mplus'

Description

This function is a wrapper for the functions mplusObject and mplusModeler. Using this function requires 'Mplus' to be installed.

Usage

estimate_mplus(x, ...)

Arguments

x

An object of class tidy_sem.

...

Additional parameters passed to mplusObject and mplusModeler. These arguments are matched to the correct function by name. The arguments rdata, and MODEL cannot be edited, as they are determined from the tidy_sem object.

Details

The arguments dataout, modelout, and run are optional. If these are not specified, the model will be run in tempdir.

Value

An object of class mplusObject.

Examples

library(MplusAutomation)
model <- tidy_sem(iris, "\\.")
model <- measurement(model)
## Not run: 
  estimate_mplus(model, run = 0L)

## End(Not run)

cjvanlissa/tidySEM documentation built on March 16, 2024, 6:35 a.m.