Skip to contents

The function fits the model using the OpenMx package.

Usage

FitMx(data, taskid)

Arguments

data

R object. Output of the RandomMeasurement() function.

taskid

Positive integer. Task ID.

See also

Examples

if (FALSE) { # \dontrun{
set.seed(42)
library(OpenMx)
sim <- GenData(taskid = 1)
data <- RandomMeasurement(sim)
fit <- FitMx(data, taskid = 1)
summary(fit)
} # }