nlme (version 3.1-86)

solve.reStruct: Apply Solve to an reStruct Object

Description

Solve is applied to each pdMat component of a, which results in inverting the positive-definite matrices they represent.

Usage

## S3 method for class 'reStruct':
solve(a, b, \dots)

Arguments

Value

an reStruct object similar to a, but with the pdMat components representing the inverses of the matrices represented by the components of a.

See Also

solve.pdMat, reStruct

Examples

Run this code
rs1 <- reStruct(list(A = pdSymm(diag(1:3), form = ~Score),
  B = pdDiag(2 * diag(4), form = ~Educ)))
solve(rs1)

Run the code above in your browser using DataCamp Workspace