Obtain estimated marginal means (EMMs) for many linear, generalized linear, and mixed models. Compute contrasts or linear functions of EMMs, trends, and comparisons of slopes. Plots and other displays. Least-squares means are discussed, and the term "estimated marginal means" is suggested, in Searle, Speed, and Milliken (1980) Population marginal means in the linear model: An alternative to least squares means, The American Statistician 34(4), 216-221 <doi:10.1080/00031305.1980.10483031>.
| Version: | 2.0.0 | 
| Depends: | R (≥ 4.1.0) | 
| Imports: | estimability (≥ 1.4.1), graphics, methods, mvtnorm, numDeriv, rlang, stats, utils | 
| Suggests: | bayesplot, bayestestR, biglm, brms, car, coda (≥ 0.17), compositions, ggplot2, knitr, lattice, lme4, lmerTest (≥ 2.0.32), logspline, MASS, mediation, mgcv, multcomp, multcompView, MuMIn, nlme, ordinal (≥ 2014.11-12), pbkrtest (≥ 0.4-1), rmarkdown, robmixglm, rsm, sandwich, scales, splines, testthat, tibble, xtable (≥ 1.8-2) | 
| Enhances: | CARBayes, coxme, gee, geepack, MCMCglmm, MCMCpack, mice, nnet, pscl, rstanarm, sommer, survival | 
| Published: | 2025-10-29 | 
| DOI: | 10.32614/CRAN.package.emmeans | 
| Author: | Russell V. Lenth [aut, cph], Julia Piaskowski [cre, aut], Balazs Banfai [ctb], Ben Bolker [ctb], Paul Buerkner [ctb], Iago Giné-Vázquez [ctb], Maxime Hervé [ctb], Maarten Jung [ctb], Jonathon Love [ctb], Fernando Miguez [ctb], Hannes Riebl [ctb], Henrik Singmann [ctb] | 
| Maintainer: | Julia Piaskowski <julia.piask at gmail.com> | 
| BugReports: | https://github.com/rvlenth/emmeans/issues | 
| License: | GPL-2 | GPL-3 | 
| URL: | https://rvlenth.github.io/emmeans/,https://rvlenth.github.io/emmeans/ | 
| NeedsCompilation: | no | 
| Materials: | README, NEWS | 
| In views: | MixedModels | 
| CRAN checks: | emmeans results | 
| Package source: | emmeans_2.0.0.tar.gz | 
| Windows binaries: | r-devel: emmeans_1.11.2-8.zip, r-release: emmeans_1.11.2-8.zip, r-oldrel: emmeans_1.11.2-8.zip | 
| macOS binaries: | r-release (arm64): emmeans_2.0.0.tgz, r-oldrel (arm64): emmeans_2.0.0.tgz, r-release (x86_64): emmeans_2.0.0.tgz, r-oldrel (x86_64): emmeans_2.0.0.tgz | 
| Old sources: | emmeans archive | 
Please use the canonical form https://CRAN.R-project.org/package=emmeans to link to this page.