1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
% File nlme/man/logDet.corStruct.Rd
% Part of the nlme package for R
% Distributed under GPL 2 or later: see nlme/LICENCE.note
\name{logDet.corStruct}
\title{Extract corStruct Log-Determinant}
\usage{
\method{logDet}{corStruct}(object, covariate, \dots)
}
\alias{logDet.corStruct}
\arguments{
\item{object}{an object inheriting from class \code{"\link{corStruct}"},
representing a correlation structure.}
\item{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
\code{getCovariate(object)}.}
\item{\dots}{some methods for this generic require additional
arguments. None are used in this method.}
}
\description{
This method function extracts the logarithm of the determinant of a
square-root factor of the correlation matrix associated with
\code{object}, or the sum of the log-determinants of square-root
factors of the list of correlation matrices associated with
\code{object}.
}
\value{
the log-determinant of a square-root factor of the correlation matrix
associated with \code{object}, or the sum of the log-determinants of
square-root factors of the list of correlation matrices associated
with \code{object}.
}
\author{José Pinheiro and Douglas Bates \email{bates@stat.wisc.edu}}
\seealso{\code{\link{logLik.corStruct}},
\code{\link{corMatrix.corStruct}},
\code{\link{logDet}}
}
\examples{
cs1 <- corAR1(0.3)
logDet(cs1, covariate = 1:4)
}
\keyword{models}
|