Extract nlme Object Formula

DESCRIPTION:

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

USAGE:

formula(object) 

REQUIRED 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.

SEE ALSO:

EXAMPLES:

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