Extract lmList Object Formula
Usage
formula(object)
Arguments
object
|
an object inheriting from class lmList , representing
a list of lm objects with a common model.
|
Description
This method function extracts the common linear model formula
associated with each lm
component of object
.Value
a two-sided linear formula specifying the linear model used to
obtain the lm
components of object
.Author(s)
Jose Pinheiro and Douglas BatesSee Also
lmList
Examples
library(lme)
data(Orthodont)
fm1 <- lmList(distance ~ age, Orthodont, groups = ~Subject)
formula(fm1)