logDet.reStruct | R Documentation |
Calculates, for each of the pdMat
components of object
,
the logarithm of the determinant of a square-root factor.
## S3 method for class 'reStruct'
logDet(object, ...)
object |
an object inheriting from class |
... |
some methods for this generic require additional arguments. None are used in this method. |
a vector with the log-determinants of square-root factors of the
pdMat
components of object
.
José Pinheiro
reStruct
,
pdMat
, logDet
rs1 <- reStruct(list(A = pdSymm(diag(1:3), form = ~Score),
B = pdDiag(2 * diag(4), form = ~Educ)))
logDet(rs1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.