| formula.nlme {nlme} | R Documentation |
This method function extracts the nonlinear model formula
associated with x.
formula(x, ...)
x |
an object inheriting from class nlme, representing
a fitted nonlinear mixed-effects model. |
... |
some methods for this generic require additional arguments. None are used in this method. |
a two-sided nonlinear formula specifying the model used to
obtain x.
Jose Pinheiro Jose.Pinheiro@pharma.novartis.com and Douglas Bates bates@stat.wisc.edu
data(Loblolly)
fm1 <- nlme(height ~ SSasymp(age, Asym, R0, lrc),
data = Loblolly,
fixed = Asym + R0 + lrc ~ 1,
random = Asym ~ 1,
start = c(Asym = 103, R0 = -8.5, lrc = -3.3))
formula(fm1)