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 compact letter 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

5,339

Last month

3,430

Last week

1,177

Average per day

114

Daily downloads

Total downloads

Description file content

Package
emmeans
Type
Package
Title
Estimated Marginal Means, aka Least-Squares Means
Version
1.0
Date
2017-12-06
Depends
R (>= 3.2)
Imports
estimability, ggplot2, graphics, methods, stats, utils, nlme, coda (>= 0.17), multcomp, plyr, mvtnorm, xtable (>= 1.8-2)
Suggests
bayesplot, car, lattice, mediation, multcompView, ordinal, pbkrtest (>= 0.4-1), lme4, lmerTest (>= 2.0.32), MASS, rsm, knitr, rmarkdown, testthat
Enhances
CARBayes, coxme, gee, geepack, glmmADMB, MCMCglmm, MCMCpack, nnet, pscl, rstanarm, survival
Additional_repositories
http://glmmadmb.r-forge.r-project.org/repos
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 compact letter 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
RoxygenNote
6.0.1
VignetteBuilder
knitr
NeedsCompilation
no
Packaged
2017-12-05 16:54:01 UTC; rlenth
Author
Russell Lenth [aut, cre, cph], Jonathon Love [ctb], Maxime Herve [ctb]
Maintainer
Russell Lenth
Repository
CRAN
Date/Publication
2017-12-05 17:45:30 UTC

install.packages('emmeans')

1.0

6 days ago

https://github.com/rvlenth/emmeans

Russell Lenth

GPL-2 | GPL-3

Depends on

R (>= 3.2)

Imports

estimability, ggplot2, graphics, methods, stats, utils, nlme, coda (>= 0.17), multcomp, plyr, mvtnorm, xtable (>= 1.8-2)

Suggests

bayesplot, car, lattice, mediation, multcompView, ordinal, pbkrtest (>= 0.4-1), lme4, lmerTest (>= 2.0.32), MASS, rsm, knitr, rmarkdown, testthat

Discussions