object
and
conLin
(assuming spherical within-group covariance structure),
evaluated at coef(object)
. The settings
attribute of
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).# S3 method for reStruct
logLik(object, conLin, …)
"reStruct"
,
representing a random effects structure and consisting of a list of
pdMat
objects."Xy"
, corresponding to a regression matrix
(X
) combined with a response vector (y
), and
"logLik"
, corresponding to the log-likelihood of the
underlying model.object
and conLin
,
evaluated at coef{object}
.reStruct
,
pdMat
,
logLik.lme