Package: emmeans 1.10.3

Russell V. Lenth

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

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], Julia Piaskowski [ctb], Hannes Riebl [ctb], Henrik Singmann [ctb]

emmeans_1.10.3.tar.gz
emmeans_1.10.3.tar.gz(r-4.5-noble)emmeans_1.10.3.tar.gz(r-4.4-noble)
emmeans_1.10.3.tgz(r-4.4-emscripten)emmeans_1.10.3.tgz(r-4.3-emscripten)
emmeans.pdf |emmeans.html
emmeans/json (API)
NEWS

# Installemmeans in R:
install.packages('emmeans',repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/rvlenth/emmeans/issues

Datasets:

78 exports 2 stars 7.24 score 3 dependencies 160 dependents 104.0k downloads

Last updated 4 days agofrom:86738123b3

Exports:.all.vars.aovlist.dffun.cmpMM.combine.terms.diag.emm_basis.emm_register.emm_vignette.get.excl.get.offset.hurdle.support.my.vcov.num.key.recover_data.std.link.labels.zi.supportadd_groupingas.emm_listas.emmGridas.glhtas.mcmc.emm_listas.mcmc.emmGridas.mcmc.list.emm_listas.mcmc.list.emmGridcomb_facsconsec.emmccontrastdel.eff.emmcdunnett.emmceff_sizeeff.emmcemmemm_basisemm_defaultsemm_exampleemm_optionsemmeansemmipemmip_ggplotemmip_latticeemmobjemtrendsforce_regularget_emm_optionget.lsm.optionhpd.summaryinversejoint_testslsmlsm.optionslsmeanslsmiplsmobjlstrendsmake.meanintmake.symmintmake.tranmean_chg.emmcmeanintmvcontrastpairwise.emmcpermute_levelspoly.emmcpwpmpwppqdrgrecover_dataref_gridregridrevpairwise.emmcsplit_facsymminttesttrt.vs.ctrl.emmctrt.vs.ctrl1.emmctrt.vs.ctrlk.emmctukey.emmcwtcon.emmc

Dependencies:estimabilitymvtnormnumDeriv

Quick start guide for emmeans

Rendered fromAQuickStart.Rmdusingknitr::rmarkdownon Jul 02 2024.

Last update: 2024-05-21
Started: 2023-01-17

Basics of estimated marginal means

Rendered frombasics.Rmdusingknitr::rmarkdownon Jul 02 2024.

Last update: 2023-05-11
Started: 2017-10-20

Comparisons and contrasts in emmeans

Rendered fromcomparisons.Rmdusingknitr::rmarkdownon Jul 02 2024.

Last update: 2024-04-07
Started: 2017-10-20

Confidence intervals and tests in emmeans

Rendered fromconfidence-intervals.Rmdusingknitr::rmarkdownon Jul 02 2024.

Last update: 2023-03-08
Started: 2017-10-20

Explanations supplement

Rendered fromxplanations.Rmdusingknitr::rmarkdownon Jul 02 2024.

Last update: 2023-06-23
Started: 2020-05-25

FAQs for emmeans

Rendered fromFAQs.Rmdusingknitr::rmarkdownon Jul 02 2024.

Last update: 2023-01-17
Started: 2017-10-20

For developers: Extending emmeans

Rendered fromxtending.Rmdusingknitr::rmarkdownon Jul 02 2024.

Last update: 2023-05-11
Started: 2018-05-08

Index of vignette topics

Rendered fromvignette-topics.Rmdusingknitr::rmarkdownon Jul 02 2024.

Last update: 2024-07-02
Started: 2018-05-08

Interaction analysis in emmeans

Rendered frominteractions.Rmdusingknitr::rmarkdownon Jul 02 2024.

Last update: 2022-12-06
Started: 2017-10-20

Models supported by emmeans

Rendered frommodels.Rmdusingknitr::rmarkdownon Jul 02 2024.

Last update: 2024-07-02
Started: 2017-10-20

Prediction in emmeans

Rendered frompredictions.Rmdusingknitr::rmarkdownon Jul 02 2024.

Last update: 2022-12-06
Started: 2019-06-10

Re-engineering CLDs

Rendered fromre-engineering-clds.rmdusingknitr::rmarkdownon Jul 02 2024.

Last update: 2024-05-21
Started: 2024-05-21

Sophisticated models in emmeans

Rendered fromsophisticated.Rmdusingknitr::rmarkdownon Jul 02 2024.

Last update: 2023-08-17
Started: 2017-10-20

Transformations and link functions in emmeans

Rendered fromtransformations.Rmdusingknitr::rmarkdownon Jul 02 2024.

Last update: 2024-07-02
Started: 2017-10-20

Utilities and options for emmeans

Rendered fromutilities.Rmdusingknitr::rmarkdownon Jul 02 2024.

Last update: 2022-08-05
Started: 2017-10-20

Working with messy data

Rendered frommessy-data.Rmdusingknitr::rmarkdownon Jul 02 2024.

Last update: 2023-08-17
Started: 2017-10-20

Readme and manuals

Help Manual

Help pageTopics
Estimated marginal means (aka Least-squares means)emmeans-package
Convert to and from 'emmGrid' objectsas.emmGrid as.emm_list as.list.emmGrid
Support for MCMC-based estimationas.mcmc.emmGrid as.mcmc.emm_list as.mcmc.list.emmGrid as.mcmc.list.emm_list mcmc-support
Auto Pollution Filter Noiseauto.noise
Compact letter displayscld.emmGrid cld.emm_list
Manipulate factors in a reference gridadd_grouping comb_facs permute_levels split_fac
Contrasts and linear functions of EMMscoef.emmGrid contrast contrast.emmGrid pairs.emmGrid weights.emmGrid
Contrast familiesconsec.emmc contrast-methods del.eff.emmc dunnett.emmc eff.emmc emmc-functions identity.emmc mean_chg.emmc pairwise.emmc poly.emmc revpairwise.emmc trt.vs.ctrl.emmc trt.vs.ctrl1.emmc trt.vs.ctrlk.emmc tukey.emmc wtcon.emmc
Calculate effect sizes and confidence bounds thereofeff_size
Support for 'multcomp::glht'as.glht as.glht.emmGrid emm glht-support glht.emmGrid glht.emmlf modelparm.emmwrap
Run or list additional examplesemm_example
The 'emm_list' classas.data.frame.emm_list as.data.frame.summary_eml coef.emm_list confint.emm_list contrast.emm_list emm_list pairs.emm_list plot.emm_list print.emm_list str.emm_list summary.emm_list test.emm_list
Set or change emmeans optionsemm_defaults emm_options get_emm_option
Estimated marginal means (Least-squares means)emmeans
The 'emmGrid' classemmGrid-class
Interaction-style plots for estimated marginal meansemmip emmip.default emmip_ggplot emmip_lattice
Construct an 'emmGrid' object from scratchemmobj
Estimated marginal means of linear trendsemtrends
Support functions for model extensions.all.vars .aovlist.dffun .cmpMM .combine.terms .diag .emm_basis .emm_register .emm_vignette .get.excl .get.offset .hurdle.support .my.vcov .num.key .recover_data .std.link.labels .zi.support emm_basis extending-emmeans recover_data recover_data.call
Feedlot datafeedlot
Fiber datafiber
Summarize an emmGrid from a Bayesian modelhpd.summary
Compute joint tests of the terms in a modeljoint_tests make.meanint make.symmint meanint symmint
Wrappers for alternative naming of EMMsget.lsm.option lsm lsm.options lsmeans lsmip lsmobj lstrends wrappers
Response-transformation extensionsinverse make.tran
Oats data in multivariate formMOats
Models supported in 'emmeans'models
Multivariate contrastsmvcontrast
Neuralgia dataneuralgia
Nutrition datanutrition
Sales of orangesoranges
Effects of dietary protein on free plasma leucine concentration in pigspigs
Plot an 'emmGrid' or 'summary_emm' objectplot.emmGrid plot.summary_emm
Pairwise P-value matrix (plus other statistics)pwpm
Pairwise P-value plotpwpp
Quick and dirty reference gridqdrg
Combine or subset 'emmGrid' objects+.emmGrid force_regular head.emmGrid rbind.emmGrid rbind.emm_list rbind.summary_emm subset.emmGrid tail.emmGrid [.emmGrid
Create a reference grid from a fitted modelref_grid
Reconstruct a reference grid with a new transformation or simulationsregrid
Miscellaneous methods for 'emmGrid' objectsprint.emmGrid str.emmGrid vcov.emmGrid
Summaries, predictions, intervals, and tests for 'emmGrid' objectsas.data.frame.emmGrid confint.emmGrid predict.emmGrid summary.emmGrid test test.emmGrid [.summary_emm
Unbalanced datasetubds
Dare to be un-"tidy"!untidy
Update an 'emmGrid' objectlevels<-.emmGrid update.emmGrid update.summary_emm
Using 'xtable' for EMMsprint.xtable_emm xtable.emmGrid xtable.summary_emm