Learn R Programming

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

lme4 (version 0.2-2)

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

License

GPL version 2 or later

Maintainer

Douglas Bates

Last Published

December 2nd, 2025

Functions in lme4 (0.2-2)

guImmun

Immunization in Guatemala
EMupdateGets

Update an object in the EM algorithm
EMstepsGets

Perform EM iterations
lmList-class

Class "lmList"
logLik-methods

Methods for Function logLik
VarCorr-class

Class "VarCorr"
corFactor

Extract the correlation factor
intervals

Confidence Intervals on Coefficients
fixed.effects

Extract Fixed Effects
matrixGets

Assign the matrix
model.matrixGets

Assign the model.matrix
lmeLevel

Construct an lmeLevel object
Names

Extract or assign Names
coefGets

Assign parameters
reStruct-class

Class "reStruct"
lme

Fit linear mixed-effects models
pdFactor

Square-root factor
pdgradNumeric

Evaluate the pdmatrix gradient numerically
lmeControl

Control values for lme
pooledSD

Extract pooled standard deviation
isInitialized

Check for initialization
VarCorr

Extract variance and correlation components
reStruct

Create an reStruct object
random.effects

Extract Random Effects
pdMatrix

Return the positive-definite matrix
nffGroupedData-class

Class "nffGroupedData"
guPrenat

Prenatal care in Guatemala
nmGroupedData-class

Class "nmGroupedData"
pdgradient

Evaluated the pdmatrix gradient
corMatrix

Generate the correlation matrix
pdfactor-class

Factors of positive-definite matrices
lme-class

Class "lme"
BIC

Bayesian Information Criterion
pdCompSymm-class

Class "pdCompSymm"
pdDiag-class

Class "pdDiag"
formulas

Utilities for formulas
summary.reStruct-class

Class "summary.reStruct"
weightedGets

Modify the weights
pdLogChol-class

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

Class "nfnGroupedData"
corrmatrix-class

Class "corrmatrix"
solve-methods

Methods for Function solve
pdIdent-class

Class "pdIdent"
glmm-class

Class "glmm"
family-class

Class "family"
Hsb82

High School and Beyond - 1982
lmList

List of lm Objects with a Common Model
glmmStruct

Create a glmm object
pdBlocked-class

Class "pdBlocked", blocked pd matrices
nlmeInternal-class

Some internal classes
responseGets

Modify the response
groupedData-class

Class "groupedData"
pdmatrix-class

Positive-definite matrices
nlme-internal

Internal nlme functions
pdNatural-class

Class "pdNatural", positive-definite matrices
LMEoptimizeGets

Optimize linear mixed-effects
LMEgradient

The gradient in lme optimization
GLMM

Fit Generalized Linear Mixed Models via PQL
pdMat-class

Class pdMat, positive-definite matrices
logDet

Logarithm of the determinant
lmeLevel-class

Class "lmeLevel"
nfGroupedData-class

Class "nfGroupedData"
s3bby

Responses simulated by Rodriguez and Goldman
s3bbx

Covariates in the Rodriguez and Goldman simulation