formula.gnls {nlme} | R Documentation |
This method function extracts the nonlinear model formula
associated with object
.
formula(object)
object |
an object inheriting from class gnls , representing
a generalized nonlinear least squares fitted model. |
a two-sided formula specifying the nonlinear model used to
obtain object
.
Jose Pinheiro and Douglas Bates
library(nlme) data(Soybean) fm1 <- gnls(weight ~ SSlogis(Time, Asym, xmid, scal), Soybean, weights = varPower()) formula(fm1)