Learn R Programming

nlme (version 3.1-19)

update.gnls: Update a gnls Object

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.

Usage

## S3 method for class 'gnls':
update(object, model, data, params, start, correlation, 
       weights, subset, na.action, naPattern, control, verbose, \dots)

Arguments

Value

an updated gnls object.

See Also

gnls

Examples

Run this code
data(Soybean)
fm1 <- gnls(weight ~ SSlogis(Time, Asym, xmid, scal), Soybean,
            weights = varPower())
fm2 <- update(fm1, correlation = corAR1())

Run the code above in your browser using DataLab