formula.gnls {nlme}R Documentation

Extract gnls Object Formula

Description

This method function extracts the nonlinear model formula associated with object.

Usage

formula(object)

Arguments

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

Value

a two-sided formula specifying the nonlinear model used to obtain object.

Author(s)

Jose Pinheiro and Douglas Bates

See Also

gnls

Examples

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

[Package Contents]