imxHasAlgebraOnPath: imxHasAlgebraOnPath

View source: R/MxPath.R

imxHasAlgebraOnPathR Documentation

imxHasAlgebraOnPath

Description

This is an internal function exported for those people who know what they are doing. This function checks if a model (or any of its submodels) either (1) has labels on MxPaths that reference one or more MxAlgebras, or (2) defines any of the RAM matrices as MxAlgebras.

Usage

imxHasAlgebraOnPath(model, submodels = TRUE, strict = FALSE)

Arguments

model

an MxModel object

submodels

logical; recursion over child models?

strict

logical; raise error if 'model' contains no paths?


OpenMx documentation built on June 8, 2025, 9:33 p.m.