Skip to content

emmeans

Estimated Marginal Means, aka Least-Squares Means

v2.0.3 · Apr 9, 2026 · GPL-2 | GPL-3

Description

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>.

Downloads

CRAN

163.2K

Last 30 days

268th

548.3K

Last 90 days

2M

Last year

Trend: -12.1% (30d vs prior 30d)

r2u CRAN

1.1K

Last 30 days

5.4K

Last 90 days

20.6K

Last year

Trend: -48.7% (30d vs prior 30d)

autoCRAN

23

Last 7 days

178

Last 30 days

4

All-time

⚠ Shared name: this package is also shipped elsewhere on openSUSE, so this count is not exclusive to autoCRAN (it is an upper bound).

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘AQuickStart.Rmd’ using rmarkdown
--- finished re-building ‘AQuickStart.Rmd’

--- re-building ‘FAQs.Rmd’ using rmarkdown
--- finished re-building ‘FAQs.Rmd’

--- re-building ‘basics.Rmd’ using 
...[truncated]...
-- finished re-building ‘xplanations.Rmd’

--- re-building ‘xtending.Rmd’ using rmarkdown
--- finished re-building ‘xtending.Rmd’

SUMMARY: processing the following file failed:
  ‘messy-data.Rmd’

Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (123)

Dependency Network

Dependencies Reverse dependencies estimability mvtnorm numDeriv rlang AOboot LabApplStat RRphylo lsmeans pubh ARTool AgroR CANE ClusterRandSSAdj FactoMineR JWileymisc LongDat SDLfilter ScottKnott SimplyAgree +108 more reverse deps emmeans

Version History

73 tracked
updated 2.0.3 ← 2.0.2 diff Apr 9, 2026
new 2.0.2 Mar 10, 2026
updated 2.0.2 ← 2.0.1 diff Mar 4, 2026
updated 2.0.1 ← 2.0.0 diff Dec 15, 2025
updated 2.0.0 ← 1.11.2-8 diff Oct 28, 2025
updated 1.11.2-8 ← 1.11.2 diff Aug 27, 2025
updated 1.11.2 ← 1.11.1 diff Jul 10, 2025
updated 1.11.1 ← 1.11.0 diff May 3, 2025
updated 1.11.0 ← 1.10.7 diff Mar 19, 2025
updated 1.10.7 ← 1.10.6 diff Jan 30, 2025
updated 1.10.6 ← 1.10.5 diff Dec 11, 2024
updated 1.10.5 ← 1.10.4 diff Oct 13, 2024
updated 1.10.4 ← 1.10.3 diff Aug 20, 2024
updated 1.10.3 ← 1.10.2 diff Jun 30, 2024
updated 1.10.2 ← 1.10.1 diff May 19, 2024