formula.nlme {nlme}R Documentation

Extract nlme Object Formula

Description

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

Usage

formula(object)

Arguments

object an object inheriting from class nlme, representing a fitted nonlinear mixed-effects model.

Value

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

Author(s)

Jose Pinheiro and Douglas Bates

See Also

nlme

Examples

library(nlme)
data(Soybean)
fm1 <- nlme(weight ~ SSlogis(Time, Asym, xmid, scal), data = Soybean,
            fixed = Asym + xmid + scal ~ 1, start = c(18, 52, 7.5),
            control = list(nlmStepMax = 1.0))
formula(fm1)


[Package Contents]