This method function extracts the component of a Gaussian
log-likelihood associated with the correlation structure, which is
equal to the negative of the logarithm of the determinant (or sum of
the logarithms of the determinants) of the matrix (or matrices)
represented by
object.
USAGE:
logLik(object, data)
REQUIRED ARGUMENTS:
object
an object inheriting from class
corStruct,
representing a correlation structure.
OPTIONAL ARGUMENTS:
data
this argument is included to make this method function
compatible with other
logLik methods and will be ignored.
VALUE:
the negative of the logarithm of the determinant (or sum of
the logarithms of the determinants) of the correlation matrix (or
matrices) represented by
object.
SEE ALSO:
EXAMPLES:
cs1 <- corAR1(0.2)
cs1 <- initialize(cs1, data = Orthodont)
logLik(cs1)