estimate_mx {tidySEM}R 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)

[Package tidySEM version 0.2.7 Index]