Learn R Programming

nlme (version 3.1-16)

residuals.gnls: Extract gnls Residuals

Description

The residuals for the linear model represented by object are extracted.

Usage

## S3 method for class 'gnls':
residuals(object, type)

Arguments

Value

a vector with the residuals for the linear model represented by object.

See Also

gnls, fitted.gnls

Examples

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

Run the code above in your browser using DataLab