getGroups.lmList {nlme} | R Documentation |
The grouping factor determining the partitioning of the observations
used to produce the lm
components of object
is
extracted.
getGroups(object)
object |
an object inheriting from class lmList , representing
a list of lm objects with a common model.
|
a vector with the grouping factor corresponding to the lm
components of object
.
Jose Pinheiro and Douglas Bates
library(nlme) data(Orthodont) fm1 <- lmList(distance ~ age | Subject, Orthodont) getGroups(fm1)