This function is generic; method functions can be written to handle specific classes of objects. Classes which already have methods for this function include: corStruct, modelStruct, reStruct, and varFunc.

recalc(object, conLin, ...)

Arguments

object

any object which induces a recalculation of the condensed linear model object conLin.

conLin

a condensed linear model object, consisting of a list with components "Xy", corresponding to a regression matrix (X) combined with a response vector (y), and "logLik", corresponding to the log-likelihood of the underlying model.

...

some methods for this generic can take additional arguments.

Value

the recalculated condensed linear model object.

Author

José Pinheiro and Douglas Bates bates@stat.wisc.edu

Note

This function is only used inside model fitting functions, such as lme and gls, that require recalculation of a condensed linear model object.