logDet.corStruct {nlme} | R Documentation |
This method function extracts the logarithm of the determinant of a
square-root factor of the correlation matrix associated with
object
, or the sum of the log-determinants of square-root
factors of the list of correlation matrices associated with
object
.
## S3 method for class 'corStruct' logDet(object, covariate, ...)
object |
an object inheriting from class |
covariate |
an optional covariate vector (matrix), or list of
covariate vectors (matrices), at which values the correlation matrix,
or list of correlation matrices, are to be evaluated. Defaults to
|
... |
some methods for this generic require additional arguments. None are used in this method. |
the log-determinant of a square-root factor of the correlation matrix
associated with object
, or the sum of the log-determinants of
square-root factors of the list of correlation matrices associated
with object
.
Jose Pinheiro and Douglas Bates bates@stat.wisc.edu
logLik.corStruct
,
corMatrix.corStruct
,
logDet
cs1 <- corAR1(0.3) logDet(cs1, covariate = 1:4)