Update an nlme Object

DESCRIPTION:

The non-missing arguments in the call to the update.nlme method replace the corresponding arguments in the original call used to produce object and nlme is used with the modified call to produce an updated fitted object.

USAGE:

update(object, model, data, fixed, random, groups, start, 
       correlation, weights, subset, method, na.action, naPattern, 
       control, verbose) 

REQUIRED ARGUMENTS:

object
an object inheriting from class nlme, representing a fitted nonlinear mixed-effects model.

OPTIONAL ARGUMENTS:

other arguments
defined as in nlme. See that functions documentation for descriptions and default values for these arguments.

VALUE:

an updated nlme object.

SEE ALSO:

EXAMPLES:

fm1 <- nlme(weight ~ SSlogis(Time, Asym, xmid, scal), data = Soybean, 
            fixed = Asym + xmid + scal ~ 1, start = c(18, 52, 7.5)) 
fm2 <- update(fm1, weights = varPower())