def_nested_models: Define nested models.

View source: R/model_misc.R

def_nested_modelsR Documentation

Define nested models.

Description

Define nested models by adding MxConstraints or modifying the labels or other elements of the target MxModel.

Usage

def_nested_models(model, ..., run = FALSE)

Arguments

model

MxModel object.

...

named OpenMx objects to add or replace in the target model (in a list if there are more than one).

run

should the models be run? Default is FALSE.

Value

The named list of MxModels.


IvanVoronin/TwinAnalysis documentation built on July 24, 2024, 9:36 p.m.