Learn R Programming

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

lme4 (version 1.1-35.3)

Linear Mixed-Effects Models using 'Eigen' and S4

Description

Fit linear and generalized linear mixed-effects models. The models and their components are represented using S4 classes and methods. The core computational algorithms are implemented using the 'Eigen' C++ library for numerical linear algebra and 'RcppEigen' "glue".

Copy Link

Version

Install

install.packages('lme4')

Monthly Downloads

544,654

Version

1.1-35.3

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Ben Bolker

Last Published

April 16th, 2024

Functions in lme4 (1.1-35.3)

devcomp

Extract the deviance component list
confint.merMod

Compute Confidence Intervals for Parameters of a [ng]lmer Fit
checkConv

Extended Convergence Checking
VerbAgg

Verbal Aggression item responses
convergence

Assessing Convergence for Fitted Models
allFit

Refit a fitted model with all available optimizers
cbpp

Contagious bovine pleuropneumonia
devfun2

Deviance Function in Terms of Standard Deviations/Correlations
bootMer

Model-based (Semi-)Parametric Bootstrap for Mixed Models
dummy

Dummy variables (experimental)
cake

Breakage Angle of Chocolate Cakes
glmFamily

Generator object for the glmFamily class
drop1.merMod

Drop all possible single fixed-effect terms from a mixed effect model
glmFamily-class

fortify

add information to data based on a fitted model
expandDoubleVerts

Expand terms with '||' notation into separate '|' terms
findbars

Determine random-effects expressions from a formula
fixef

Extract fixed-effects estimates
factorize

Attempt to convert grouping variables to factors
getME

Extract or Get Generalized Components from a Fitted Mixed Effects Model
isREML

Check characteristics of models
influence.merMod

Influence Diagnostics for Mixed-Effects Models
glmer.nb

Fitting Negative Binomial GLMMs
glmerLaplaceHandle

Handle for glmerLaplace
glmer

Fitting Generalized Linear Mixed-Effects Models
hatvalues.merMod

Diagonal elements of the hat matrix
grouseticks

Data on red grouse ticks from Elston et al. 2001
isSingular

Test Fitted Model for (Near) Singularity
golden-class

Class "golden" and Generator for Golden Search Optimizer Class
isNested

Is f1 nested within f2?
lmer

Fit Linear Mixed-Effects Models
lmerControl

Control of Mixed Model Fitting
lme4-package

Linear, generalized linear, and nonlinear mixed models
merMod-class

Class "merMod" of Fitted Mixed-Effect Models
lmList

Fit List of lm or glm Objects with a Common Model
lmList4-class

Class "lmList4" of 'lm' Objects on Common Model
lmResp

Generator objects for the response classes
lmResp-class

Reference Classes for Response Modules, "(lm|glm|nls|lmer)Resp"
merPredD-class

Class "merPredD" - a Dense Predictor Reference Class
lme4_testlevel

Detect testing level for lme4 examples and tests
mkVarCorr

Make Variance and Correlation Matrices from theta
mkMerMod

Create a 'merMod' Object
mkReTrms

Make Random Effect Terms: Create Z, Lambda, Lind, etc.
ngrps

Number of Levels of a Factor or a "merMod" Model
mkSimulateTemplate

Make templates suitable for guiding mixed model simulations
namedList

Self-naming list function
nlformula

Manipulate a Nonlinear Model Formula
merPredD

Generator object for the merPredD class
modular

Modular Functions for Mixed Model Fits
mkRespMod

Create an lmerResp, glmResp or nlsResp instance
ranef

Extract the modes of the random effects
rePCA

PCA of random-effects covariance matrix
nlmer

Fitting Nonlinear Mixed-Effects Models
nobars

Omit terms separated by vertical bars in a formula
plot.merMod

Diagnostic Plots for 'merMod' Fits
predict.merMod

Predictions from a model at new data values
plots.thpr

Mixed-Effects Profile Plots (Regular / Density / Pairs)
pvalues

Getting p-values for fitted models
profile-methods

Profile method for merMod objects
simulate.formula

A simulate Method for formula objects that dispatches based on the Left-Hand Side
nloptwrap

Wrappers for additional optimizers
sleepstudy

Reaction times in a sleep deprivation study
refit

Refit a (merMod) Model with a Different Response
residuals.merMod

residuals of merMod objects
simulate.merMod

Simulate Responses From merMod Object
rePos-class

Class "rePos"
refitML

Refit a Model by Maximum Likelihood Criterion
troubleshooting

Troubleshooting
rePos

Generator object for the rePos (random-effects positions) class
prt-utilities

Print and Summary Method Utilities for Mixed Effects
subbars

"Sub[stitute] Bars"
vcconv

Convert between representations of (co-)variance structures
sigma

Extract Residual Standard Deviation 'Sigma'
GQdk

Sparse Gaussian / Gauss-Hermite Quadrature grid
NelderMead

Nelder-Mead Optimization of Parameters, Possibly (Box) Constrained
InstEval

University Lecture/Instructor Evaluations by Students at ETH
GHrule

Univariate Gauss-Hermite quadrature rule
VarCorr

Extract Variance and Correlation Components
Pastes

Paste strength by batch and cask
Arabidopsis

Arabidopsis clipping/fertilization data
Penicillin

Variation in penicillin testing
Dyestuff

Yield of dyestuff by batch
NelderMead-class

Class "NelderMead" of Nelder-Mead optimizers and its Generator