Extract gnls Object Formula

Usage

formula(object)

Arguments

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

Description

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

Value

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

Author(s)

Jose Pinheiro and Douglas Bates

See Also

gnls

Examples

library(lme)
data(Soybean)

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


[Package Contents]