estimate_mx: Estimate tidy_sem using 'OpenMx'

View source: R/syntax-estimate.R

estimate_mxR Documentation

Estimate tidy_sem using 'OpenMx'

Description

This function is a wrapper for the as_ram and run_mx functions.

Usage

estimate_mx(x, ...)

Arguments

x

An object of class tidy_sem.

...

Additional parameters passed to the estimating function.

Value

An object of class MxModel.

Examples

df <- iris[1:4]
names(df) <- paste0("x_", 1:4)
model <- tidy_sem(df)
model <- measurement(model)
res <- estimate_mx(model)
summary(res)

tidySEM documentation built on April 15, 2022, 1:06 a.m.