Learn R Programming

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

lme4 (version 1.1-35.1)

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

424,716

Version

1.1-35.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

November 5th, 2023

Functions in lme4 (1.1-35.1)

bootMer

Model-based (Semi-)Parametric Bootstrap for Mixed Models
confint.merMod

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

Extended Convergence Checking
convergence

Assessing Convergence for Fitted Models
devcomp

Extract the deviance component list
cake

Breakage Angle of Chocolate Cakes
cbpp

Contagious bovine pleuropneumonia
VerbAgg

Verbal Aggression item responses
allFit

Refit a fitted model with all available optimizers
devfun2

Deviance Function in Terms of Standard Deviations/Correlations
glmFamily-class

fortify

add information to data based on a fitted model
glmFamily

Generator object for the glmFamily class
expandDoubleVerts

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

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

Check characteristics of models
isNested

Is f1 nested within f2?
isSingular

Test Fitted Model for (Near) Singularity
glmerLaplaceHandle

Handle for glmerLaplace
influence.merMod

Influence Diagnostics for Mixed-Effects Models
fixef

Extract fixed-effects estimates
findbars

Determine random-effects expressions from a formula
dummy

Dummy variables (experimental)
hatvalues.merMod

Diagonal elements of the hat matrix
factorize

Attempt to convert grouping variables to factors
golden-class

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

Data on red grouse ticks from Elston et al. 2001
drop1.merMod

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

Fitting Generalized Linear Mixed-Effects Models
glmer.nb

Fitting Negative Binomial GLMMs
lme4-package

Linear, generalized linear, and nonlinear mixed models
lme4_testlevel

Detect testing level for lme4 examples and tests
lmList

Fit List of lm or glm Objects with a Common Model
lmerControl

Control of Mixed Model Fitting
lmer

Fit Linear Mixed-Effects Models
lmResp-class

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

Class "merPredD" - a Dense Predictor Reference Class
lmResp

Generator objects for the response classes
merMod-class

Class "merMod" of Fitted Mixed-Effect Models
lmList4-class

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

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

Manipulate a Nonlinear Model Formula
namedList

Self-naming list function
merPredD

Generator object for the merPredD class
modular

Modular Functions for Mixed Model Fits
mkSimulateTemplate

Make templates suitable for guiding mixed model simulations
mkVarCorr

Make Variance and Correlation Matrices from theta
mkReTrms

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

Create a 'merMod' Object
mkRespMod

Create an lmerResp, glmResp or nlsResp instance
plots.thpr

Mixed-Effects Profile Plots (Regular / Density / Pairs)
plot.merMod

Diagnostic Plots for 'merMod' Fits
ranef

Extract the modes of the random effects
pvalues

Getting p-values for fitted models
rePCA

PCA of random-effects covariance matrix
nloptwrap

Wrappers for additional optimizers
nlmer

Fitting Nonlinear Mixed-Effects Models
profile-methods

Profile method for merMod objects
predict.merMod

Predictions from a model at new data values
nobars

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

Simulate Responses From merMod Object
rePos-class

Class "rePos"
simulate.formula

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

Refit a (merMod) Model with a Different Response
refitML

Refit a Model by Maximum Likelihood Criterion
residuals.merMod

residuals of merMod objects
sleepstudy

Reaction times in a sleep deprivation study
rePos

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

Extract Residual Standard Deviation 'Sigma'
subbars

"Sub[stitute] Bars"
vcconv

Convert between representations of (co-)variance structures
prt-utilities

Print and Summary Method Utilities for Mixed Effects
troubleshooting

Troubleshooting
GHrule

Univariate Gauss-Hermite quadrature rule
InstEval

University Lecture/Instructor Evaluations by Students at ETH
GQdk

Sparse Gaussian / Gauss-Hermite Quadrature grid
Arabidopsis

Arabidopsis clipping/fertilization data
NelderMead-class

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

Paste strength by batch and cask
Penicillin

Variation in penicillin testing
VarCorr

Extract Variance and Correlation Components
NelderMead

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

Yield of dyestuff by batch