as.MxRAMModel.lavaan: Extract path structure from a lavaan object

Description Usage Arguments Details Value

View source: R/extractModelStructure.R

Description

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

Usage

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

Arguments

model

a lavaan or blavaan object

exogenous

Compute causal influences of exogenous variables? (default TRUE)

standardized

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

...

Not currently used.

Details

This function is experimental, and may have bugs. At present, it does not allow for constraints,

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.