lme4 (version 0.95-7)

ranef: Extract Random Effects

Description

A generic function to extract, and optionally accumulate, the random effects.

Usage

ranef(object, ...)
## S3 method for class 'lmer':
ranef(object, accumulate, \dots)
random.effects(object, ...)   # deprecated

Arguments

object
an object of a class from which random effects estimates can be extracted.
accumulate
an optional logical argument indicating if the random effects for nested grouping factors should be accumulated.
...
some methods for this generic function require additional arguments.

Value

  • a list of matrices.

Examples

Run this code
ranef(lmer(decrease ~ treatment + (1|rowpos) + (1|colpos),
             OrchardSprays))

Run the code above in your browser using DataCamp Workspace