Learn R Programming

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

lme4 (version 1.1-27.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

513,067

Version

1.1-27.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

June 22nd, 2021

Functions in lme4 (1.1-27.1)

Dyestuff

Yield of dyestuff by batch
GQdk

Sparse Gaussian / Gauss-Hermite Quadrature grid
GHrule

Univariate Gauss-Hermite quadrature rule
VarCorr

Extract Variance and Correlation Components
InstEval

University Lecture/Instructor Evaluations by Students at ETH
Arabidopsis

Arabidopsis clipping/fertilization data
Pastes

Paste strength by batch and cask
NelderMead

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

Variation in penicillin testing
NelderMead-class

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

Deviance Function in Terms of Standard Deviations/Correlations
checkConv

Extended Convergence Checking
devcomp

Extract the deviance component list
VerbAgg

Verbal Aggression item responses
cbpp

Contagious bovine pleuropneumonia
convergence

Assessing Convergence for Fitted Models
confint.merMod

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

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

Refit a fitted model with all available optimizers
drop1.merMod

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

Dummy variables (experimental)
isNested

Is f1 nested within f2?
fortify

add information to data based on a fitted model
glmFamily-class

glmFamily

Generator object for the '>glmFamily class
influence.merMod

Influence Diagnostics for Mixed-Effects Models
hatvalues.merMod

Diagonal elements of the hat matrix
cake

Breakage Angle of Chocolate Cakes
grouseticks

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

Determine random-effects expressions from a formula
getME

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

Test Fitted Model for (Near) Singularity
isREML

Check characteristics of models
lme4-package

Linear, generalized linear, and nonlinear mixed models
factorize

Attempt to convert grouping variables to factors
expandDoubleVerts

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

Detect testing level for lme4 examples and tests
glmer

Fitting Generalized Linear Mixed-Effects Models
fixef

Extract fixed-effects estimates
lmList4-class

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

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

Handle for glmerLaplace
mkRespMod

Create an lmerResp, glmResp or nlsResp instance
mkReTrms

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

Troubleshooting
merPredD

subbars

"Sub[stitute] Bars"
pvalues

Getting p-values for fitted models
golden-class

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

Create a 'merMod' Object
sigma

Extract Residual Standard Deviation 'Sigma'
glmer.nb

Fitting Negative Binomial GLMMs
ranef

Extract the modes of the random effects
vcconv

Convert between representations of (co-)variance structures
nlformula

Manipulate a Nonlinear Model Formula
lmResp-class

Reference Classes for Response Modules, "(lm|glm|nls|lmer)Resp"
simulate.formula

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

Print and Summary Method Utilities for Mixed Effects
nlmer

Fitting Nonlinear Mixed-Effects Models
merMod-class

Class "merMod" of Fitted Mixed-Effect Models
rePCA

PCA of random-effects covariance matrix
rePos-class

Class "rePos"
residuals.merMod

residuals of merMod objects
refitML

Refit a Model by Maximum Likelihood Criterion
lmResp

Generator objects for the response classes
merPredD-class

Class "merPredD" - a Dense Predictor Reference Class
mkSimulateTemplate

Make templates suitable for guiding mixed model simulations
mkVarCorr

Make Variance and Correlation Matrices from theta
plots.thpr

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

Diagnostic Plots for 'merMod' Fits
simulate.merMod

sleepstudy

Reaction times in a sleep deprivation study
lmer

Fit Linear Mixed-Effects Models
lmerControl

Control of Mixed Model Fitting
ngrps

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

Wrappers for additional optimizers
modular

Modular Functions for Mixed Model Fits
predict.merMod

Predictions from a model at new data values
rePos

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

Profile method for merMod objects
refit

Refit a (merMod) Model with a Different Response
nobars

Omit terms separated by vertical bars in a formula