The residuals for the nonlinear model represented by
object are extracted.
USAGE:
residuals(object)
REQUIRED 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 response variable.
VALUE:
a vector with the residuals for the nonlinear model represented by
object. This method function is primarily used inside
gnls and
residuals.gnls.