emmeans: Estimated Marginal Means, aka Least-Squares Means

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: 1.7.1-1
Depends: R (≥ 3.5.0)
Imports: estimability (≥ 1.3), graphics, methods, numDeriv, stats, utils, mvtnorm, xtable (≥ 1.8-2)
Suggests: bayesplot, bayestestR, biglm, brms, car, coda (≥ 0.17), ggplot2, lattice, logspline, mediation, mgcv, multcomp, multcompView, nlme, ordinal (≥ 2014.11-12), pbkrtest (≥ 0.4-1), lme4, lmerTest (≥ 2.0.32), MASS, MuMIn, rsm, knitr, rmarkdown, scales, splines, testthat
Enhances: CARBayes, coxme, gee, geepack, MCMCglmm, MCMCpack, mice, nnet, pscl, rstanarm, sommer, survival
Published: 2021-11-29
Author: Russell V. Lenth [aut, cre, cph], Paul Buerkner [ctb], Maxime Herve [ctb], Jonathon Love [ctb], Fernando Miguez [ctb], Hannes Riebl [ctb], Henrik Singmann [ctb]
Maintainer: Russell V. Lenth <russell-lenth at uiowa.edu>
BugReports: https://github.com/rvlenth/emmeans/issues
License: GPL-2 | GPL-3
URL: https://github.com/rvlenth/emmeans
NeedsCompilation: no
Materials: README NEWS
CRAN checks: emmeans results


Reference manual: emmeans.pdf
Vignettes: FAQs for emmeans
Basics of EMMs
Comparisons and contrasts
Confidence intervals and tests
Interaction analysis in emmeans
Working with messy data
Models supported by emmeans
Prediction in emmeans
Sophisticated models in emmeans
Transformations and link functions
Utilities and options
Index of vignette topics
Explanations supplement
For developers: Extending emmeans


Package source: emmeans_1.7.1-1.tar.gz
Windows binaries: r-devel: emmeans_1.7.0.zip, r-release: emmeans_1.7.0.zip, r-oldrel: emmeans_1.7.0.zip
macOS binaries: r-release (arm64): emmeans_1.7.0.tgz, r-release (x86_64): emmeans_1.7.1-1.tgz, r-oldrel: emmeans_1.7.1-1.tgz
Old sources: emmeans archive

Reverse dependencies:

Reverse depends: CTP, LabApplStat, lsmeans, pubh, RRphylo
Reverse imports: agriTutorial, AgroR, ARTool, augmentedRCBD, bruceR, dataquieR, distdichoR, eda4treeR, ibd, inti, jmv, JWileymisc, LinkHD, LMMstar, mi4p, piecewiseSEM, qusage, seedreg, SimplyAgree, sjstats, statgenGxE, statgenSTA, Superpower, truthiness
Reverse suggests: afex, agridat, asremlPlus, bayestestR, brms, broom, broom.helpers, catseyes, effectsize, estimatr, gfilmm, GGally, ggeffects, GLMMadaptive, glmmTMB, insight, marginaleffects, modelbased, nlraa, parameters, PowerTOST, r2rtf, robustlmm, rsm, rstatix, RVAideMemoire, see, semTools, standardize, structToolbox, tidybayes


Please use the canonical form https://CRAN.R-project.org/package=emmeans to link to this page.