formula.gnls {nlme}R Documentation

Extract gnls Object Formula

Description

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

Usage

formula(x, ...)

Arguments

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

Value

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

Author(s)

Jose Pinheiro Jose.Pinheiro@pharma.novartis.com and Douglas Bates bates@stat.wisc.edu

See Also

gnls

Examples

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

[Package Contents]