# lme4

> Linear and generalized linear mixed-effects models in R

Source: https://talira.ai/catalog/lme4-rkrf943g
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / math / statistics](https://talira.ai/categories/libraries/math/statistics), [languages / r](https://talira.ai/categories/languages/r)
- Licence: GPL-2.0-or-later[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [lme4 developers](https://talira.ai/orgs/lme4-developers.md)

lme4 is an R package for fitting linear, generalized linear and nonlinear mixed-effects models, with any number of nested and crossed random effects. It's efficient on large data sets through the Eigen linear algebra library (via RcppEigen), fits GLMMs by Laplace approximation or adaptive Gauss-Hermite quadrature with user-defined families and links, and includes likelihood profiling and parametric bootstrapping. Douglas Bates, Martin Maechler, Ben Bolker and others maintain it.

## Links

- GitHub: https://github.com/lme4/lme4

## Problems it solves

- fit a mixed-effects model with random intercepts for subjects in R
- analyse repeated measures data with crossed random effects
- fit a logistic regression with random effects for grouped data

## Features

- linear, generalized linear and nonlinear mixed models
- arbitrarily many nested and crossed random effects
- Laplace approximation and adaptive Gauss-Hermite quadrature for GLMMs
- likelihood profiling and parametric bootstrap
- Eigen-based fitting for large data sets

## Trust

Overall: 0.60 out of 1.
Signals: maintenance 1.00, adoption 0.57, momentum 0.21, community 0.72, backing 0.30, extensibility 0.00.

- last commit 5 days ago
- 118 commits in the last 90 days
- latest release b6fb1ac83885ff06 9.1 years ago
- 699 GitHub stars
- 61 contributors
- backed by lme4 developers

## Alternatives

- [nlme](https://talira.ai/catalog/nlme-0kra1hwn.md): Linear and nonlinear mixed-effects models for R

## Sources

[^1]: https://github.com/lme4/lme4/blob/master/README.md (checked 28 Nov 2026)
[^2]: https://github.com/lme4/lme4/blob/master/DESCRIPTION (checked 28 Nov 2026)
