Learn R Programming

nlme (version 3.1-10)

getGroups.lmList: Extract lmList Object Groups

Description

The grouping factor determining the partitioning of the observations used to produce the lm components of object is extracted.

Usage

getGroups(object)

Arguments

Value

a vector with the grouping factor corresponding to the lm components of object.

See Also

lmList

Examples

Run this code
data(Orthodont)
fm1 <- lmList(distance ~ age | Subject, Orthodont)
getGroups(fm1)

Run the code above in your browser using DataLab