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

Total

362,242

Last month

36,632

Last week

9,861

Average per day

1,221

Daily downloads

Total downloads

Description file content

Package
emmeans
Type
Package
Title
Estimated Marginal Means, aka Least-Squares Means
Version
1.3.5.1
Date
2019-06-26
Depends
R (>= 3.2)
Imports
estimability (>= 1.3), graphics, methods, numDeriv, stats, utils, plyr, mvtnorm, xtable (>= 1.8-2)
Suggests
bayesplot, biglm, brms, car, coda (>= 0.17), ggplot2, lattice, mediation, mgcv, multcomp, multcompView, nlme, ordinal (>= 2014.11-12), pbkrtest (>= 0.4-1), lme4, lmerTest (>= 2.0.32), MASS, MuMIn, rsm, knitr, rmarkdown, scales, testthat
Enhances
CARBayes, coxme, gee, geepack, MCMCglmm, MCMCpack, mice, nnet, pscl, rstanarm, sommer, survival
URL
BugReports
https://github.com/rvlenth/emmeans/issues
LazyData
yes
ByteCompile
yes
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 .
License
GPL-2 | GPL-3
Encoding
UTF-8
RoxygenNote
6.1.1
VignetteBuilder
knitr
NeedsCompilation
no
Packaged
2019-06-26 14:23:35 UTC; rlenth
Author
Russell Lenth [aut, cre, cph], Henrik Singmann [ctb], Jonathon Love [ctb], Paul Buerkner [ctb], Maxime Herve [ctb]
Maintainer
Russell Lenth
Repository
CRAN
Date/Publication
2019-06-26 16:10:15 UTC

install.packages('emmeans')

1.3.5.1

20 days ago

https://github.com/rvlenth/emmeans

Russell Lenth

GPL-2 | GPL-3

Depends on

R (>= 3.2)

Imports

estimability (>= 1.3), graphics, methods, numDeriv, stats, utils, plyr, mvtnorm, xtable (>= 1.8-2)

Suggests

bayesplot, biglm, brms, car, coda (>= 0.17), ggplot2, lattice, mediation, mgcv, multcomp, multcompView, nlme, ordinal (>= 2014.11-12), pbkrtest (>= 0.4-1), lme4, lmerTest (>= 2.0.32), MASS, MuMIn, rsm, knitr, rmarkdown, scales, testthat

Discussions