Learn R Programming

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

lme4 (version 0.99875-5)

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.99875-5

License

GPL version 2 or later

Maintainer

Douglas Bates

Last Published

December 2nd, 2025

Functions in lme4 (0.99875-5)

lmer

Fit (Generalized) Linear Mixed-Effects Models
pedigree-class

Class "pedigree"
VarCorr

Extract variance and correlation components
gsummary

Summarize a data frame by group
fixef

Extract Fixed Effects
sleepstudy

Reaction times in a sleep deprivation study
lmList-class

Class "lmList"
cbpp

Serological Incidence of Contagious Bovine Pleuropneumonia in Ethiopia
BIC

Bayesian Information Criterion
ranef

Extract Random Effects
mcmcsamp

Generate an MCMC sample
cake

Breakage angle of chocolate cakes
pedigree

Pedigree Constructor
nlmer

Fit Nonlinear Mixed Models
pooledSD

Extract pooled standard deviation
nlmer-class

Representation of a Nonlinear Mixed Model
lmer-class

Mixed Model Representations and *mer Methods
hatTrace

Extract the trace of the `hat' matrix
VarCorr-class

Class "VarCorr"
lmList

List of lm Objects with a Common Model