Recalculate Condensed Linear Model Object
DESCRIPTION:
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.
USAGE:
recalc(object, conLin)
REQUIRED 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 function may require
additional arguments.
VALUE:
the recalculated condensed linear model object.
NOTE: This function is only used inside model fitting functions, such
as
lme and
gls, that require recalculation of a condensed linear
model object.
EXAMPLES:
## see the method function documentation