Extract lmList Object Groups
Usage
getGroups(object)
Arguments
object
|
an object inheriting from class lmList , representing
a list of lm objects with a common model.
|
Description
The grouping factor determining the partitioning of the observations
used to produce the lm
components of object
is
extracted.Value
a vector with the grouping factor corresponding to 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)
getGroups(fm1)