nlme (version 3.1-39)

fitted.gnls: Extract gnls Fitted Values

Description

The fitted values for the nonlinear model represented by object are extracted.

Usage

## S3 method for class 'gnls':
fitted(object, \dots)

Arguments

object
an object inheriting from class gnls, representing a generalized nonlienar least squares fitted model.
...
some methods for this generic require additional arguments. None are used in this method.

Value

  • a vector with the fitted values for the nonlinear model represented by object.

See Also

gnls, residuals.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