Learn R Programming

⚠️There's a newer version (1.1-38) of this package.Take me there.

lme4 (version 0.9975-12)

Linear mixed-effects models using S4 classes

Description

Fit linear and generalized linear mixed-effects models.

Copy Link

Version

Install

install.packages('lme4')

Monthly Downloads

539,225

Version

0.9975-12

License

GPL version 2 or later

Maintainer

Douglas Bates

Last Published

December 2nd, 2025

Functions in lme4 (0.9975-12)

lmer

Fit (Generalized) Linear Mixed-Effects Models
fixef

Extract Fixed Effects
pooledSD

Extract pooled standard deviation
lmer-class

Mixed Model Representations and *mer Methods
BIC

Bayesian Information Criterion
pedigree

Pedigree Constructor
lmList-class

Class "lmList"
lmList

List of lm Objects with a Common Model
VarCorr-class

Class "VarCorr"
mcmcsamp

Generate an MCMC sample
ranef

Extract Random Effects
pedigree-class

Class "pedigree"
cbpp

Serological Incidence of Contagious Bovine Pleuropneumonia in Ethiopia
sleepstudy

Reaction times in a sleep deprivation study
VarCorr

Extract variance and correlation components
gsummary

Summarize a data frame by group
hatTrace

Extract the trace of the `hat' matrix