Extract lme Object Formula
Usage
formula(object)
Arguments
object
|
an object inheriting from class lme , representing
a fitted linear mixed-effects model.
|
Description
This method function extracts the fixed effects model formula
associated with object
.Value
a two-sided linear formula specifying the fixed effects model used to
obtain object
.Author(s)
Jose Pinheiro and Douglas BatesSee Also
lme
Examples
library(lme)
data(Orthodont)
fm1 <- lme(distance ~ age, Orthodont, random = ~ age | Subject)
formula(fm1)