Update a gls Object
Usage
update(object, model, data, correlation, weights, subset, REML,
na.action, control)
Arguments
object
|
an object inheriting from class gls , representing
a generalized least squares fitted linear model.
|
other arguments
|
defined as in gls . See the
documentation on that function for descriptions of and default values
for these arguments.
|
Description
The non-missing arguments in the call to the update.gls
method
replace the corresponding arguments in the original call used to
produce object
and gls
is used with the modified call to
produce an updated fitted object.Value
an updated gls
object.Author(s)
Jose Pinheiro and Douglas BatesSee Also
gls
Examples
library(lme)
data(Ovary)
fm1 <- gls(follicles ~ sin(2*pi*Time) + cos(2*pi*Time), Ovary,
correlation = corAR1(form = ~ 1 | Mare))
fm2 <- update(fm1, weights = varPower())