nlme (version 3.1-1)

logDet.pdMat: Extract Log-Determinant from a pdMat Object

Description

This method function extracts the logarithm of the determinant of a square-root factor of the positive-definite matrix represented by object.

Usage

logDet(object)

Arguments

object
an object inheriting from class pdMat, representing a positive definite matrix.

Value

  • the log-determinant of a square-root factor of the positive-definite matrix represented by object.

See Also

pdMat

Examples

Run this code
pd1 <- pdSymm(diag(1:3))
logDet(pd1)

Run the code above in your browser using DataCamp Workspace