extractModelStructure: Extract Model Structure and create an MxRAMModel

Description Usage Arguments Details Value

View source: R/extractModelStructure.R

Description

Extract paths from a model and convert to MxRAMModel

Usage

1
2
extractModelStructure(model, exogenous = TRUE, standardized = FALSE,
  ...)

Arguments

model

a path modeling object (see details for supported types)

exogenous

Include exogenous variables? (default TRUE)

standardized

Transform all variables into standardized forms? (default FALSE)

Details

This function is experimental, and may have bugs.

At present, it does not handle constraints, groups, or pretty much anything else that's at all complicated.

Really, this is just a helper to handle the fact that blavaan doesn't export its blavaan class.

Currently supported: OpenMx RAM models (easy!), lavaan and blavaan models

Value

An MxRAMModel containing the same path structure as the original model


trbrick/MICr documentation built on March 7, 2020, 3:30 p.m.