nlme (version 3.1-1)

formula.gnls: 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.

See Also

gnls

Examples

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

Run the code above in your browser using DataLab