Learn R Programming

OpenMx (version 2.21.13)

imxRowGradients: imxRowGradients

Description

This is an internal function exported for those people who know what they are doing.

Usage

imxRowGradients(model, robustSE = FALSE, dependencyModels = character(0))

Arguments

model

An OpenMx model object that has been run

robustSE

Logical; are the row gradients being requested to calculate robust standard errors?

dependencyModels

Vector of character strings naming submodels that do not contain data, but contain objects to which data-containing models make reference.

Details

This function computes the gradient for each row of data. The returned object is a matrix with the same number of rows as the data, and the same number of columns as there are free parameters.