formula.nlme {nlme} | R Documentation |
This method function extracts the nonlinear model formula
associated with object
.
formula(object)
object |
an object inheriting from class nlme , representing
a fitted nonlinear mixed-effects model. |
a two-sided nonlinear formula specifying the model used to
obtain object
.
Jose Pinheiro and Douglas Bates
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)