Learn R Programming

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

lme4 (version 0.4-7)

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

License

GPL version 2 or later

Maintainer

Douglas Bates

Last Published

March 26th, 2025

Functions in lme4 (0.4-7)

Names

Extract or assign Names
fixed.effects

Extract Fixed Effects
LMEgradient

The gradient and Hessian in lme optimization-method
GLMM

Fit Generalized Linear Mixed Models via PQL
corFactor

Extract the correlation factor
VarCorr-class

Class "VarCorr"
isInitialized

Check for initialization
glmmStruct

Create a glmm object
EMstepsGets

Perform EM iterations
LMEoptimizeGets

Optimize linear mixed-effects
corrmatrix-class

Class "corrmatrix"
corMatrix

Generate the correlation matrix
lmeLevel

Construct an lmeLevel object
glmm-class

Class "glmm"
EMupdateGets

Update an object in the EM algorithm
lme-class

Class "lme"
logDet

Logarithm of the determinant
pdmatrix-class

Positive-definite matrices
guPrenat

Prenatal care in Guatemala
reStruct-class

Class "reStruct"
BIC

Bayesian Information Criterion
model.matrixGets

Assign the model.matrix
formulas

Utilities for formulas
nlmeInternal-class

Some internal classes
pooledSD

Extract pooled standard deviation
coefGets

Assign parameters
nffGroupedData-class

Class "nffGroupedData"
coerce-methods

Coercion methods and assignments
Hsb82

High School and Beyond - 1982
lmeControl

Control values for lme
pdDiag-class

Class "pdDiag"
pdMatrix

Return the positive-definite matrix
pdgradient

Evaluated the pdmatrix gradient
matrixGets

Assign the matrix
nfGroupedData-class

Class "nfGroupedData"
nfnGroupedData-class

Class "nfnGroupedData"
groupedData

Creation of groupedData objects
random.effects

Extract Random Effects
lmeLevel-class

Class "lmeLevel"
intervals

Confidence Intervals on Coefficients
pdNatural-class

Class "pdNatural", positive-definite matrices
responseGets

Modify the response
reStruct

Create an reStruct object
pdIdent-class

Class "pdIdent"
weightedGets

Modify the weights
pdCompSymm-class

Class "pdCompSymm"
summary.reStruct-class

Class "summary.reStruct"
pdLogChol-class

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

Factors of positive-definite matrices
pdMat-class

Class pdMat, positive-definite matrices
pdBlocked-class

Class "pdBlocked", blocked pd matrices
lme

Fit linear mixed-effects models
pdgradNumeric

Evaluate the pdmatrix gradient numerically
nlme-internal

Internal nlme functions
lmList

List of lm Objects with a Common Model
groupedData-class

Class "groupedData"
nmGroupedData-class

Class "nmGroupedData"
VarCorr

Extract variance and correlation components
guImmun

Immunization in Guatemala
pdFactor

Square-root factor
family-class

Class "family"
lmList-class

Class "lmList"
solve-methods

Methods for Function solve
RatPupWeight

The weight of rat pups
MathAchSchool

School demographic data for MathAchieve
Cefamandole

Pharmacokinetics of Cefamandole
Tetracycline1

Pharmacokinetics of tetracycline
s3bbx

Covariates in the Rodriguez and Goldman simulation
Remifentanil

Pharmacokinetics of remifentanil
Machines

Productivity Scores for Machines and Workers
Glucose

Glucose levels over time
Glucose2

Glucose Levels Following Alcohol Ingestion
MathAchieve

Mathematics achievement scores
IGF

Radioimmunoassay of IGF-I Protein
Gun

Methods for firing naval guns
Fatigue

Cracks caused by metal fatigue
ergoStool

Ergometrics experiment with stool types
Nitrendipene

Assay of nitrendipene
Dialyzer

High-Flux Hemodialyzer
Ovary

Counts of Ovarian Follicles
Gasoline

Refinery yield of gasoline
Relaxin

Assay for Relaxin
Assay

Bioassay on Cell Culture Plate
Tetracycline2

Pharmacokinetics of tetracycline
bdf

Language scores
Orthodont

Growth curve data on an orthdontic measurement
Oats

Split-plot Experiment on Varieties of Oats
Wafer

Modeling of Analog MOS Circuits
Wheat

Yields by growing conditions
Oxboys

Heights of Boys in Oxford
Earthquake

Earthquake Intensity
Soybean

Growth of soybean plants
Quinidine

Quinidine Kinetics
Alfalfa

Split-Plot Experiment on Varieties of Alfalfa
Wheat2

Wheat Yield Trials
Oxide

Variability in Semiconductor Manufacturing
Rail

Evaluation of Stress in Railway Rails
PBG

Effect of Phenylbiguanide on Blood Pressure
Pixel

X-ray pixel intensities over time
Phenobarb

Phenobarbitol Kinetics
Spruce

Growth of Spruce Trees
Meat

Tenderness of meat
Muscle

Contraction of heart muscle sections
Milk

Protein content of cows' milk
BodyWeight

Rat weight over time for different diets
s3bby

Responses simulated by Rodriguez and Goldman