Learn R Programming

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

lme4 (version 1.1-20)

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

539,225

Version

1.1-20

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Ben Bolker

Last Published

February 4th, 2019

Functions in lme4 (1.1-20)

Arabidopsis

Arabidopsis clipping/fertilization data
glmFamily-class

cbpp

Contagious bovine pleuropneumonia
checkConv

Extended Convergence Checking
devcomp

Extract the deviance component list
fortify

add information to data based on a fitted model
grouseticks

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

Generator object for the '>glmFamily class
findbars

Determine random-effects expressions from a formula
devfun2

Deviance function defined in terms of standard deviations/correlations
fixef

Extract fixed-effects estimates
influence.merMod

Influence Diagnostics for Mixed-Effects Models
isNested

Is f1 nested within f2?
getME

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

Handle for glmerLaplace
GHrule

Univariate Gauss-Hermite quadrature rule
lme4-package

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

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

Fitting Nonlinear Mixed-Effects Models
lmer

Fit Linear Mixed-Effects Models
GQdk

Sparse Gaussian / Gauss-Hermite Quadrature grid
nloptwrap

Wrappers for additional optimizers
plots.thpr

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

Predictions from a model at new data values
merPredD-class

Class "merPredD" - a Dense Predictor Reference Class
merPredD

mkRespMod

Create an lmerResp, glmResp or nlsResp instance
hatvalues.merMod

Diagonal elements of the hat matrix
bootMer

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

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

Make templates suitable for guiding mixed model simulations
profile-methods

Profile method for merMod objects
lmResp

Generator objects for the response classes
cake

Breakage Angle of Chocolate Cakes
drop1.merMod

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

Make Variance and Correlation Matrices from theta
dummy

Dummy variables (experimental)
modular

Modular Functions for Mixed Model Fits
pvalues

Getting p-values for fitted models
ngrps

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

"Sub[stitute] Bars"
troubleshooting

Troubleshooting
Pastes

Paste strength by batch and cask
NelderMead

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

Manipulate a Nonlinear Model Formula
refit

Refit a (merMod) Model with a Different Response
allFit

Refit a fitted model with all available optimizers
VerbAgg

Verbal Aggression item responses
refitML

Refit a Model by Maximum Likelihood Criterion
nobars

Omit terms separated by vertical bars in a formula
expandDoubleVerts

Expand terms with '||' notation into separate '|' terms
plot.merMod

Diagnostic Plots for 'merMod' Fits
factorize

Attempt to convert grouping variables to factors
residuals.merMod

residuals of merMod objects
InstEval

University Lecture/Instructor Evaluations by Students at ETH
NelderMead-class

Class "NelderMead" of Nelder-Mead optimizers and its Generator
confint.merMod

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

Assessing Convergence for Fitted Models
sigma

Extract Residual Standard Deviation 'Sigma'
isREML

Check characteristics of models
glmer

Fitting Generalized Linear Mixed-Effects Models
glmer.nb

Fitting Negative Binomial GLMMs
lmList

Fit List of lm or glm Objects with a Common Model
lmList4-class

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

Create a 'merMod' Object
mkReTrms

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

Extract the modes of the random effects
isSingular

Test fitted model for (near) singularity
lmerControl

Control of Mixed Model Fitting
merMod-class

Class "merMod" of Fitted Mixed-Effect Models
rePCA

PCA of random-effects covariance matrix
simulate.merMod

sleepstudy

Reaction times in a sleep deprivation study
rePos-class

Class "rePos"
rePos

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

Print and Summary Method Utilities for Mixed Effects
vcconv

Convert between representations of (co-)variance structures
Penicillin

Variation in penicillin testing
Dyestuff

Yield of dyestuff by batch
VarCorr

Extract Variance and Correlation Components