Learn R Programming

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

lme4 (version 0.3-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

389,866

Version

0.3-4

License

GPL version 2 or later

Maintainer

Douglas Bates

Last Published

March 26th, 2025

Functions in lme4 (0.3-4)

VarCorr

Extract variance and correlation components
nlme-internal

Internal nlme functions
LMEgradient

The gradient in lme optimization
family-class

Class "family"
LMEoptimizeGets

Optimize linear mixed-effects
Hsb82

High School and Beyond - 1982
pdLogChol-class

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

Class "VarCorr"
BIC

Bayesian Information Criterion
corMatrix

Generate the correlation matrix
GLMM

Fit Generalized Linear Mixed Models via PQL
pdgradNumeric

Evaluate the pdmatrix gradient numerically
guPrenat

Prenatal care in Guatemala
fixed.effects

Extract Fixed Effects
lmList

List of lm Objects with a Common Model
corFactor

Extract the correlation factor
random.effects

Extract Random Effects
solve-methods

Methods for Function solve
pdMat-class

Class pdMat, positive-definite matrices
glmm-class

Class "glmm"
reStruct

Create an reStruct object
nlmeInternal-class

Some internal classes
pdBlocked-class

Class "pdBlocked", blocked pd matrices
corrmatrix-class

Class "corrmatrix"
model.matrixGets

Assign the model.matrix
groupedData-class

Class "groupedData"
lmeLevel-class

Class "lmeLevel"
pdmatrix-class

Positive-definite matrices
lmeControl

Control values for lme
Names

Extract or assign Names
EMupdateGets

Update an object in the EM algorithm
nfGroupedData-class

Class "nfGroupedData"
intervals

Confidence Intervals on Coefficients
lmList-class

Class "lmList"
isInitialized

Check for initialization
nmGroupedData-class

Class "nmGroupedData"
pooledSD

Extract pooled standard deviation
logDet

Logarithm of the determinant
guImmun

Immunization in Guatemala
formulas

Utilities for formulas
pdgradient

Evaluated the pdmatrix gradient
pdCompSymm-class

Class "pdCompSymm"
lmeLevel

Construct an lmeLevel object
matrixGets

Assign the matrix
responseGets

Modify the response
lme

Fit linear mixed-effects models
coefGets

Assign parameters
summary.reStruct-class

Class "summary.reStruct"
pdNatural-class

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

Class "nfnGroupedData"
glmmStruct

Create a glmm object
pdFactor

Square-root factor
pdfactor-class

Factors of positive-definite matrices
nffGroupedData-class

Class "nffGroupedData"
pdIdent-class

Class "pdIdent"
pdMatrix

Return the positive-definite matrix
pdDiag-class

Class "pdDiag"
reStruct-class

Class "reStruct"
lme-class

Class "lme"
EMstepsGets

Perform EM iterations
weightedGets

Modify the weights
s3bby

Responses simulated by Rodriguez and Goldman
s3bbx

Covariates in the Rodriguez and Goldman simulation