nlme (version 3.1-86)

logDet.corStruct: Extract corStruct Log-Determinant

Description

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

## S3 method for class 'corStruct':
logDet(object, covariate, \dots)

Arguments

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.

See Also

logLik.corStruct, corMatrix.corStruct, logDet

Examples

Run this code
cs1 <- corAR1(0.3)
logDet(cs1, covariate = 1:4)

Run the code above in your browser using DataCamp Workspace