getGroupsFormula.lmList {nlme} | R Documentation |
A formula representing the grouping factor determining the
partitioning of the observations used to produce the lm
components of object
is obtained and returned as a list with a
single component, or as a one-sided formula.
getGroupsFormula(object, asList)
object |
an object inheriting from class lmList , representing
a list of lm objects with a common model.
|
asList |
an optional logical value. If TRUE the returned
value with be a list of formulas; else, if FALSE the returned
value will be a one-sided formula. Defaults to FALSE .
|
a one-sided formula, or a list with a single one-sided formula,
representing the grouping factor corresponding to the lm
components of object
.
Jose Pinheiro and Douglas Bates
data(Orthodont) fm1 <- lmList(distance ~ age | Subject, Orthodont) getGroupsFormula(fm1)