Learn R Programming

lme4 (version 0.99875-2)

fixef: Extract Fixed Effects

Description

Extract the estimates of the fixed effects parameters from a fitted model.

Usage

fixef(object, ...)
fixed.effects(object, ...)  # deprecated

Arguments

object
any fitted model object from which fixed effects estimates can be extracted.
...
optional additional arguments. Currently none are used in any methods.

Value

  • a named numeric vector of fixed effects estimates.

Examples

Run this code
fixef(lmer(Reaction ~ Days + (1|Subject) + (0+Days|Subject), sleepstudy))

Run the code above in your browser using DataLab