Extract gnls Fitted Values

Usage

fitted(object)

Arguments

object an object inheriting from class gnls, representing a generalized nonlienar least squares fitted model.

Description

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

Value

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

Author(s)

Jose Pinheiro and Douglas Bates

See Also

gnls, residuals.gnls

Examples

library(lme)
data(Soybean)

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


[Package Contents]