formula.lme {nlme} | R Documentation |
This method function extracts the fixed effects model formula
associated with object
.
formula(object)
object |
an object inheriting from class lme , representing
a fitted linear mixed-effects model. |
a two-sided linear formula specifying the fixed effects model used to
obtain object
.
Jose Pinheiro and Douglas Bates
library(nlme) data(Orthodont) fm1 <- lme(distance ~ age, Orthodont, random = ~ age | Subject) formula(fm1)