% File nlme/man/logLik.reStruct.Rd % Part of the nlme package for R % Distributed under GPL 2 or later: see nlme/LICENCE.note \name{logLik.reStruct} \title{Calculate reStruct Log-Likelihood} \usage{ \method{logLik}{reStruct}(object, conLin, \dots) } \alias{logLik.reStruct} \arguments{ \item{object}{an object inheriting from class \code{"\link{reStruct}"}, representing a random effects structure and consisting of a list of \code{pdMat} objects.} \item{conLin}{a condensed linear model object, consisting of a list with components \code{"Xy"}, corresponding to a regression matrix (\code{X}) combined with a response vector (\code{y}), and \code{"logLik"}, corresponding to the log-likelihood of the underlying model.} \item{\dots}{some methods for this generic require additional arguments. None are used in this method.} } \description{ Calculates the log-likelihood, or restricted log-likelihood, of the Gaussian linear mixed-effects model represented by \code{object} and \code{conLin} (assuming spherical within-group covariance structure), evaluated at \code{coef(object)}. The \code{settings} attribute of \code{object} determines whether the log-likelihood, or the restricted log-likelihood, is to be calculated. The computational methods are described in Bates and Pinheiro (1998). } \value{ the log-likelihood, or restricted log-likelihood, of linear mixed-effects model represented by \code{object} and \code{conLin}, evaluated at \code{coef{object}}. } \author{José Pinheiro and Douglas Bates \email{bates@stat.wisc.edu}} \seealso{\code{\link{reStruct}}, \code{\link{pdMat}}, \code{\link{logLik.lme}} } \keyword{models}