Learn R Programming

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

lme4 (version 0.2-4)

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.2-4

License

GPL version 2 or later

Maintainer

Douglas Bates

Last Published

December 2nd, 2025

Functions in lme4 (0.2-4)

formulas

Utilities for formulas
corMatrix

Generate the correlation matrix
VarCorr

Extract variance and correlation components
Hsb82

High School and Beyond - 1982
intervals

Confidence Intervals on Coefficients
GLMM

Fit Generalized Linear Mixed Models via PQL
coefGets

Assign parameters
Names

Extract or assign Names
guImmun

Immunization in Guatemala
BIC

Bayesian Information Criterion
corFactor

Extract the correlation factor
guPrenat

Prenatal care in Guatemala
EMupdateGets

Update an object in the EM algorithm
fixed.effects

Extract Fixed Effects
glmm-class

Class "glmm"
lmeLevel

Construct an lmeLevel object
VarCorr-class

Class "VarCorr"
pdCompSymm-class

Class "pdCompSymm"
pdgradNumeric

Evaluate the pdmatrix gradient numerically
family-class

Class "family"
pdBlocked-class

Class "pdBlocked", blocked pd matrices
pdfactor-class

Factors of positive-definite matrices
logLik-methods

Methods for Function logLik
groupedData-class

Class "groupedData"
isInitialized

Check for initialization
lmeLevel-class

Class "lmeLevel"
pdMatrix

Return the positive-definite matrix
lme

Fit linear mixed-effects models
pdFactor

Square-root factor
nfnGroupedData-class

Class "nfnGroupedData"
lmList-class

Class "lmList"
lmeControl

Control values for lme
model.matrixGets

Assign the model.matrix
lmList

List of lm Objects with a Common Model
pdNatural-class

Class "pdNatural", positive-definite matrices
nfGroupedData-class

Class "nfGroupedData"
lme-class

Class "lme"
glmmStruct

Create a glmm object
pdLogChol-class

Class "pdLogChol", positive-definite matrices
pdmatrix-class

Positive-definite matrices
nlme-internal

Internal nlme functions
pdMat-class

Class pdMat, positive-definite matrices
summary.reStruct-class

Class "summary.reStruct"
pdDiag-class

Class "pdDiag"
random.effects

Extract Random Effects
nlmeInternal-class

Some internal classes
reStruct-class

Class "reStruct"
solve-methods

Methods for Function solve
pdIdent-class

Class "pdIdent"
weightedGets

Modify the weights
reStruct

Create an reStruct object
pdgradient

Evaluated the pdmatrix gradient
matrixGets

Assign the matrix
responseGets

Modify the response
pooledSD

Extract pooled standard deviation
corrmatrix-class

Class "corrmatrix"
LMEgradient

The gradient in lme optimization
LMEoptimizeGets

Optimize linear mixed-effects
EMstepsGets

Perform EM iterations
nmGroupedData-class

Class "nmGroupedData"
logDet

Logarithm of the determinant
nffGroupedData-class

Class "nffGroupedData"
s3bby

Responses simulated by Rodriguez and Goldman
s3bbx

Covariates in the Rodriguez and Goldman simulation