lme4 v1.1-15


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
Penicillin Variation in penicillin testing
VarCorr Extract Variance and Correlation Components
NelderMead Nelder-Mead Optimization of Parameters, Possibly (Box) Constrained
Pastes Paste strength by batch and cask
InstEval University Lecture/Instructor Evaluations by Students at ETH
NelderMead-class Class "NelderMead" of Nelder-Mead optimizers and its Generator
Arabidopsis Arabidopsis clipping/fertilization data
Dyestuff Yield of dyestuff by batch
GHrule Univariate Gauss-Hermite quadrature rule
GQdk Sparse Gaussian / Gauss-Hermite Quadrature grid
VerbAgg Verbal Aggression item responses
bootMer Model-based (Semi-)Parametric Bootstrap for Mixed Models
checkConv Extended Convergence Checking
confint.merMod Compute Confidence Intervals for Parameters of a [ng]lmer Fit
expandDoubleVerts Expand terms with '||' notation into separate '|' terms
factorize Attempt to convert grouping variables to factors
convergence Assessing Convergence for Fitted Models
devcomp Extract the deviance component list
findbars Determine random-effects expressions from a formula
fixef Extract fixed-effects estimates
glmerLaplaceHandle Handle for glmerLaplace
golden-class Class "golden" and Generator for Golden Search Optimizer Class
merPredD-class Class "merPredD" - a Dense Predictor Reference Class
merPredD Generator object for the merPredD class
nloptwrap Wrappers for additional optimizers
nobars Omit terms separated by vertical bars in a formula
glmer Fitting Generalized Linear Mixed-Effects Models
glmer.nb Fitting Negative Binomial GLMMs
lmResp-class Reference Classes for Response Modules, "(lm|glm|nls|lmer)Resp"
lme4-package Linear, generalized linear, and nonlinear mixed models
cake Breakage Angle of Chocolate Cakes
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
isNested Is f1 nested within f2?
lmResp Generator objects for the response classes
grouseticks Data on red grouse ticks from Elston et al. 2001
hatvalues.merMod Diagonal elements of the hat matrix
mkRespMod Create an lmerResp, glmResp or nlsResp instance
mkSimulateTemplate Make templates suitable for guiding mixed model simulations
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"
glmFamily-class Class "glmFamily" - a reference class for family
glmFamily Generator object for the glmFamily class
lmList Fit List of lm Objects with a Common Model
lmList4-class Class "lmList4" of 'lm' Objects on Common Model
lmerControl Control of Mixed Model Fitting
merMod-class Class "merMod" of Fitted Mixed-Effect Models
mkVarCorr Make Variance and Correlation Matrices from theta
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
isREML Check characteristics of models
plot.lmList4 plots for lmList4 objects
plot.merMod Diagnostic Plots for 'merMod' Fits
ranef Extract the modes of the random effects
rePos-class Class "rePos"
troubleshooting Troubleshooting
prt-utilities Print and Summary Method Utilities for Mixed Effects
lmer Fit Linear Mixed-Effects Models
modular Modular Functions for Mixed Model Fits
ngrps Number of Levels of a Factor or a "merMod" Model
rePos Generator object for the rePos (random-effects positions) class
refit Refit a (merMod) Model with a Different Response
drop1.merMod Drop all possible single fixed-effect terms from a mixed effect model
dummy Dummy variables (experimental)
mkMerMod Create a 'merMod' Object
mkReTrms Make Random Effect Terms: Create Z, Lambda, Lind, etc.
refitML Refit a Model by Maximum Likelihood Criterion
residuals.merMod residuals of merMod objects
sigma Extract Residual Standard Deviation 'Sigma'
simulate.merMod Simulate Responses From merMod Object
vcconv Convert between representations of (co-)variance structures
No Results!

Vignettes of lme4

No Results!

Last month downloads


Include our badge in your README