Extract Log-Determinant from a pdMat Object
Usage
logDet(object)
Arguments
object
an object inheriting from class code{pdMat}, representing a positive definite matrix.
Description
This method function extracts the logarithm of the determinant of a square-root factor of the positive-definite matrix represented by
object
.
Value
the log-determinant of a square-root factor of the positive-definite matrix represented by
object
.
Author(s)
Jose Pinheiro and Douglas Bates
See Also
pdMat
Examples
library(lme) pd1 <- pdSymm(diag(1:3)) logDet(pd1)
[Package Contents]