OpenMxMatrix: Matrix from OpenMx outputs

View source: R/penalised_models.R

OpenMxMatrixR Documentation

Matrix from OpenMx outputs

Description

Returns a matrix from output of mxPenaltySearch.

Usage

OpenMxMatrix(vect, adjacency, residual_covariance = NULL)

Arguments

vect

vector of coefficients to assign to entries of the matrix.

adjacency

binary adjacency matrix of the Directed Acyclic Graph (transpose of the asymmetric matrix A in Reticular Action Model notation). The row and column names of this matrix must be defined.

residual_covariance

binary and symmetric matrix encoding the nonzero entries in the residual covariance matrix (symmetric matrix S in Reticular Action Model notation). By default, this is the identity matrix (no residual covariance).

Value

An asymmetric matrix.

See Also

PenalisedOpenMx, OpenMxModel


sharp documentation built on April 11, 2025, 5:44 p.m.