residuals.gnlsStruct {nlme}R Documentation

Calculate gnlsStruct Residuals

Description

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

Usage

residuals(object)

Arguments

object an object inheriting from class gnlsStruct, representing a list of model components, such as corStruct and varFunc objects, and attributes specifying the underlying nonlinear model and the response variable.

Value

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

Note

This method function is primarily used inside gnls and residuals.gnls.

Author(s)

Jose Pinheiro and Douglas Bates

See Also

gnls, residuals.gnls, fitted.gnlsStruct