Extract nlme Object Formula

Usage

formula(object)

Arguments

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

Description

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

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(lme)
data(Soybean)

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

formula(fm1)



[Package Contents]