Learn R Programming

nlme (version 3.1-31)

ranef.lmList: Extract lmList Random Effects

Description

The difference between the individual lm components coefficients and their average is calculated.

Usage

## S3 method for class 'lmList':
ranef(object, augFrame, data, which, FUN, standard,
                 omitGroupingFactor, \dots)

Arguments

Value

a vector with the differences between the individual lm coefficients in object and their average.

See Also

lmList, fixed.effects.lmList

Examples

Run this code
data(Orthodont)
fm1 <- lmList(distance ~ age | Subject, Orthodont)
ranef(fm1)
random.effects(fm1)              # same as above

Run the code above in your browser using DataLab