nlme (version 3.1-86)

logDet.reStruct: Extract reStruct Log-Determinants

Description

Calculates, for each of the pdMat components of object, the logarithm of the determinant of a square-root factor.

Usage

## S3 method for class 'reStruct':
logDet(object, \dots)

Arguments

Value

a vector with the log-determinants of square-root factors of the pdMat components of object.

See Also

reStruct, pdMat, logDet

Examples

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

Run the code above in your browser using DataLab