logDet.reStruct {nlme} | R Documentation |
Calculates, for each of the pdMat
components of object
,
the logarithm of the determinant of a square-root factor.
logDet(object)
object |
an object inheriting from class reStruct ,
representing a random effects structure and consisting of a list of
pdMat objects. |
a vector with the log-determinants of square-root factors of the
pdMat
components of object
.
Jose Pinheiro
rs1 <- reStruct(list(A = pdSymm(diag(1:3), form = ~Score), B = pdDiag(2 * diag(4), form = ~Educ))) logDet(rs1)