lme4 v1.1-13


Monthly downloads



Linear Mixed-Effects Models using 'Eigen' and S4

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

Functions in lme4

Name Description
convergence Assessing Convergence for Fitted Models
devcomp Extract the deviance component list
GHrule Univariate Gauss-Hermite quadrature rule
GQdk Sparse Gaussian / Gauss-Hermite Quadrature grid
cake Breakage Angle of Chocolate Cakes
expandDoubleVerts Expand terms with
factorize Attempt to convert grouping variables to factors
isNested Is f1 nested within f2?
Penicillin Variation in penicillin testing
VarCorr Extract Variance and Correlation Components
VerbAgg Verbal Aggression item responses
cbpp Contagious bovine pleuropneumonia
fortify add information to data based on a fitted model
getME Extract or Get Generalized Components from a Fitted Mixed Effects Model
bootMer Model-based (Semi-)Parametric Bootstrap for Mixed Models
glmFamily-class Class
glmFamily Generator object for the
lme4-package Linear, generalized linear, and nonlinear mixed models
lmer Fit Linear Mixed-Effects Models
ranef Extract the modes of the random effects
NelderMead Nelder-Mead Optimization of Parameters, Possibly (Box) Constrained
Pastes Paste strength by batch and cask
Dyestuff Yield of dyestuff by batch
findbars Determine random-effects expressions from a formula
confint.merMod Compute Confidence Intervals for Parameters of a [ng]lmer Fit
glmer.nb Fitting Negative Binomial GLMMs
isREML Check characteristics of models
mkMerMod Create a 'merMod' Object
mkReTrms Make Random Effect Terms: Create Z, Lambda, Lind, etc.
rePos-class Class
troubleshooting Troubleshooting
prt-utilities Print and Summary Method Utilities for Mixed Effects
glmer Fitting Generalized Linear Mixed-Effects Models
nlformula Manipulate a Nonlinear Model Formula
nlmer Fitting Nonlinear Mixed-Effects Models
profile-methods Profile method for merMod objects
pvalues Getting p-values for fitted models
sleepstudy Reaction times in a sleep deprivation study
subbars "Sub[stitute] Bars"
fixef Extract fixed-effects estimates
lmList Fit List of lm Objects with a Common Model
lmList4-class Class "lmList4" of 'lm' Objects on Common Model
merPredD-class Class
merPredD Generator object for the
hatvalues.merMod Diagonal elements of the hat matrix
lmerControl Control of Mixed Model Fitting
merMod-class Class "merMod" of Fitted Mixed-Effect Models
modular Modular Functions for Mixed Model Fits
ngrps Number of Levels of a Factor or a "merMod" Model
sigma Extract Residual Standard Deviation 'Sigma'
simulate.merMod Simulate Responses From
glmerLaplaceHandle Handle for
golden-class Class
mkRespMod Create an lmerResp, glmResp or nlsResp instance
mkSimulateTemplate Make templates suitable for guiding mixed model simulations
nloptwrap Wrappers for additional optimizers
nobars Omit terms separated by vertical bars in a formula
refitML Refit a Model by Maximum Likelihood Criterion
residuals.merMod residuals of merMod objects
InstEval University Lecture/Instructor Evaluations by Students at ETH
mkVarCorr Make Variance and Correlation Matrices from
mkdevfun Create Deviance Evaluation Function from Predictor and Response Module
plots.thpr Mixed-Effects Profile Plots (Regular / Density / Pairs)
predict.merMod Predictions from a model at new data values
vcconv Convert between representations of (co-)variance structures
NelderMead-class Class
drop1.merMod Drop all possible single fixed-effect terms from a mixed effect model
dummy Dummy variables (experimental)
lmResp-class Reference Classes for Response Modules,
lmResp Generator objects for the response classes
plot.lmList4 plots for lmList4 objects
plot.merMod Diagnostic Plots for 'merMod' Fits
rePos Generator object for the rePos (random-effects positions) class
refit Refit a (merMod) Model with a Different Response
No Results!

Vignettes of lme4

No Results!

Last month downloads


Include our badge in your README