as.MxRAMModel.character: Extract path structure from a lavaan model string

Description Usage Arguments Details Value

View source: R/extractModelStructure.R

Description

Extracts the paths from a lavaan syntax string and returns them as an MxRAMModel

Usage

1
2
as.MxRAMModel.character(model, exogenous = TRUE, standardized = FALSE,
  ...)

Arguments

model

a lavaan model string

exogenous

Compute causal influences of exogenous variables? (default TRUE)

standardized

Compute causal influences for the standardized model? (default FALSE)

...

other arguments to umxLav2RAM()

Details

This function is experimental, and may have bugs. Under the hood, this function uses the umx function umxLav2RAM(). See the help file for that function for additional help.

Value

An MxRAMModel containing the same path structure as the provided lavaan model


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