Learn R Programming

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

lme4 (version 1.1-28)

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

513,067

Version

1.1-28

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

February 5th, 2022

Functions in lme4 (1.1-28)

GQdk

Sparse Gaussian / Gauss-Hermite Quadrature grid
NelderMead-class

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

Univariate Gauss-Hermite quadrature rule
NelderMead

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

Arabidopsis clipping/fertilization data
Pastes

Paste strength by batch and cask
Dyestuff

Yield of dyestuff by batch
InstEval

University Lecture/Instructor Evaluations by Students at ETH
VarCorr

Extract Variance and Correlation Components
Penicillin

Variation in penicillin testing
devcomp

Extract the deviance component list
convergence

Assessing Convergence for Fitted Models
confint.merMod

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

Contagious bovine pleuropneumonia
checkConv

Extended Convergence Checking
fixef

Extract fixed-effects estimates
allFit

Refit a fitted model with all available optimizers
VerbAgg

Verbal Aggression item responses
findbars

Determine random-effects expressions from a formula
fortify

add information to data based on a fitted model
devfun2

Deviance Function in Terms of Standard Deviations/Correlations
getME

Extract or Get Generalized Components from a Fitted Mixed Effects Model
influence.merMod

Influence Diagnostics for Mixed-Effects Models
drop1.merMod

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

Dummy variables (experimental)
isREML

Check characteristics of models
glmFamily

Generator object for the '>glmFamily class
glmFamily-class

bootMer

Model-based (Semi-)Parametric Bootstrap for Mixed Models
golden-class

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

Handle for glmerLaplace
hatvalues.merMod

Diagonal elements of the hat matrix
grouseticks

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

Breakage Angle of Chocolate Cakes
isSingular

Test Fitted Model for (Near) Singularity
lme4_testlevel

Detect testing level for lme4 examples and tests
lme4-package

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

Reference Classes for Response Modules, "(lm|glm|nls|lmer)Resp"
lmResp

Generator objects for the response classes
lmList

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

Is f1 nested within f2?
lmList4-class

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

Attempt to convert grouping variables to factors
glmer.nb

Fitting Negative Binomial GLMMs
glmer

Fitting Generalized Linear Mixed-Effects Models
mkSimulateTemplate

Make templates suitable for guiding mixed model simulations
mkVarCorr

Make Variance and Correlation Matrices from theta
expandDoubleVerts

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

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

Modular Functions for Mixed Model Fits
lmer

Fit Linear Mixed-Effects Models
nlformula

Manipulate a Nonlinear Model Formula
lmerControl

Control of Mixed Model Fitting
pvalues

Getting p-values for fitted models
mkReTrms

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

Create an lmerResp, glmResp or nlsResp instance
predict.merMod

Predictions from a model at new data values
ranef

Extract the modes of the random effects
profile-methods

Profile method for merMod objects
nlmer

Fitting Nonlinear Mixed-Effects Models
merPredD-class

Class "merPredD" - a Dense Predictor Reference Class
merMod-class

Class "merMod" of Fitted Mixed-Effect Models
mkMerMod

Create a 'merMod' Object
plot.merMod

Diagnostic Plots for 'merMod' Fits
merPredD

nloptwrap

Wrappers for additional optimizers
nobars

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

rePCA

PCA of random-effects covariance matrix
rePos-class

Class "rePos"
subbars

"Sub[stitute] Bars"
sleepstudy

Reaction times in a sleep deprivation study
troubleshooting

Troubleshooting
rePos

Generator object for the rePos (random-effects positions) class
plots.thpr

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

Refit a (merMod) Model with a Different Response
simulate.formula

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

Convert between representations of (co-)variance structures
sigma

Extract Residual Standard Deviation 'Sigma'
prt-utilities

Print and Summary Method Utilities for Mixed Effects
refitML

Refit a Model by Maximum Likelihood Criterion
residuals.merMod

residuals of merMod objects