CRAN/E | emmeans

emmeans

Estimated Marginal Means, aka Least-Squares Means

Installation

About

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.

github.com/rvlenth/emmeans
Bug report File report

Key Metrics

Version 1.10.1
R ≥ 4.1.0
Published 2024-04-06 17 days ago
Needs compilation? no
License GPL-2
License GPL-3
CRAN checks emmeans results

Downloads

Yesterday 7.707 +120%
Last 7 days 45.697 -22%
Last 30 days 188.203 -1%
Last 90 days 510.104 +31%
Last 365 days 1.637.202 +28%

Maintainer

Maintainer

Russell V. Lenth

russell-lenth@uiowa.edu

Authors

Russell V. Lenth

aut / cre / cph

Ben Bolker

ctb

Paul Buerkner

ctb

Iago Giné-Vázquez

ctb

Maxime Herve

ctb

Maarten Jung

ctb

Jonathon Love

ctb

Fernando Miguez

ctb

Hannes Riebl

ctb

Henrik Singmann

ctb

Material

README
NEWS
Reference manual
Package source

In Views

MixedModels

Vignettes

A quick-start guide for emmeans
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
Re-engineering CLDs
Sophisticated models in emmeans
Transformations and link functions
Utilities and options
Index of vignette topics
Explanations supplement
For developers: Extending emmeans

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

emmeans archive

Depends

R ≥ 4.1.0

Imports

estimability ≥ 1.4.1
graphics
methods
numDeriv
stats
utils
mvtnorm

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
sandwich
scales
splines
testthat
xtable ≥1.8-2

Enhances

CARBayes
coxme
gee
geepack
MCMCglmm
MCMCpack
mice
nnet
pscl
rstanarm
sommer
survival

Reverse Depends

LabApplStat
lsmeans
pubh
RRphylo

Reverse Imports

agriTutorial
agriutilities
AgroR
ARTool
augmentedRCBD
biometryassist
brms.mmrm
bruceR
dataquieR
distdichoR
eda4treeR
FactoMineR
grafify
ibd
inti
iNZightPlots
jmv
JWileymisc
LinkHD
LMMstar
LongDat
mbbe
mi4p
multid
OlinkAnalyze
peramo
piecewiseSEM
qusage
SDLfilter
seedreg
SimplyAgree
sjstats
statgenGxE
statgenSTA
Superpower
tern
tern.gee
tern.mmrm

Reverse Suggests

afex
agridat
asremlPlus
bayestestR
BrailleR
brms
broom
broom.helpers
catseyes
datawizard
effectsize
estimatr
gfilmm
GGally
ggeffects
ggstats
GLMMadaptive
glmmSeq
glmmTMB
gtsummary
insight
lavaSearch2
logistf
marginaleffects
metafor
mmrm
modelbased
nlraa
papaja
parameters
PowerTOST
r2rtf
rbmi
rempsyc
report
robustlmm
rsm
rstatix
RVAideMemoire
s20x
sdmTMB
see
semTools
standardize
structToolbox
survstan
tidybayes
tidystats

Reverse Enhances

mclogit