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
.
USAGE:
logDet(object, covariate)
REQUIRED ARGUMENTS:
object
an object inheriting from class
corStruct,
representing a correlation structure.
OPTIONAL ARGUMENTS:
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
getCovariate(object).
VALUE:
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.