Update a gnls Object
Usage
update(object, model, data, params, start, correlation, weights, subset,
na.action, naPattern, control, verbose)
Arguments
object
|
an object inheriting from class gnls , representing
a generalized nonlinear least squares fitted model.
|
other arguments
|
defined as in gnls . 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.gnls
method
replace the corresponding arguments in the original call used to
produce object
and gnls
is used with the modified call to
produce an updated fitted object.Value
an updated gnls
object.Author(s)
Jose Pinheiro and Douglas BatesSee Also
gnls
Examples
library(lme)
data(Soybean)
fm1 <- gnls(weight ~ SSlogis(Time, Asym, xmid, scal), Soybean,
weights = varPower())
fm2 <- update(fm1, correlation = corAR1())