\Header{recalc.corStruct}{Recalculate for corStruct Object}
\alias{recalc.corAR1}{recalc.corStruct}
\alias{recalc.corARMA}{recalc.corStruct}
\alias{recalc.corCAR1}{recalc.corStruct}
\alias{recalc.corCompSymm}{recalc.corStruct}
\alias{recalc.corHF}{recalc.corStruct}
\alias{recalc.corIdent}{recalc.corStruct}
\alias{recalc.corNatural}{recalc.corStruct}
\alias{recalc.corSpatial}{recalc.corStruct}
\alias{recalc.corSymm}{recalc.corStruct}
\keyword{models}{recalc.corStruct}
\begin{Description}\relax
This method function pre-multiples the \code{"Xy"} component of
\code{conLin} by the transpose square-root factor(s) of the
correlation matrix (matrices) associated with \code{object} and adds
the log-likelihood contribution of \code{object}, given by
\code{logLik(object)}, to the \code{"logLik"} component of
\code{conLin}.\end{Description}
\begin{Usage}
\begin{verbatim}
## S3 method for class 'corStruct':
recalc(object, conLin, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] an object inheriting from class \code{corStruct},
representing a correlation structure.
\item[\code{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[\code{...}] some methods for this generic require additional
arguments.  None are used in this method.
\end{ldescription}
\end{Arguments}
\begin{Value}
the recalculated condensed linear model object.\end{Value}
\begin{Note}\relax
This method function is only used inside model fitting functions,
such as \code{lme} and \code{gls}, that allow correlated error terms.\end{Note}
\begin{Author}\relax
Jose Pinheiro \email{Jose.Pinheiro@pharma.novartis.com} and Douglas Bates \email{bates@stat.wisc.edu}\end{Author}
\begin{SeeAlso}\relax
\code{\Link{corFactor}}, \code{\Link{logLik.corStruct}}\end{SeeAlso}

