Package: emmeans 1.10.6-090001

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], Balazs Banfai [ctb], 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.6-090001.tar.gz
emmeans_1.10.6-090001.zip(r-4.5)emmeans_1.10.6-090001.zip(r-4.4)emmeans_1.10.6-090001.zip(r-4.3)
emmeans_1.10.6-090001.tgz(r-4.4-any)emmeans_1.10.6-090001.tgz(r-4.3-any)
emmeans_1.10.6-090001.tar.gz(r-4.5-noble)emmeans_1.10.6-090001.tar.gz(r-4.4-noble)
emmeans_1.10.6-090001.tgz(r-4.4-emscripten)emmeans_1.10.6-090001.tgz(r-4.3-emscripten)
emmeans.pdf |emmeans.html
emmeans/json (API)
NEWS

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

Peer review:

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

Pkgdown:https://rvlenth.github.io

Datasets:

On CRAN:

19.09 score 365 stars 176 packages 11k scripts 141k downloads 1.0k mentions 81 exports 3 dependencies

Last updated 1 hours agofrom:15f129cdf1. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 18 2024
R-4.5-winOKDec 18 2024
R-4.5-linuxOKDec 18 2024
R-4.4-winOKDec 18 2024
R-4.4-macOKDec 18 2024
R-4.3-winOKDec 18 2024
R-4.3-macOKDec 18 2024

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_groupingadd_submodelsas.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.emmcmeanintmvcontrastmvregridpairwise.emmcpermute_levelspoly.emmcpwpmpwppqdrgrecover_dataref_gridregridrevpairwise.emmcsplit_facsymminttesttrt.vs.ctrl.emmctrt.vs.ctrl1.emmctrt.vs.ctrlk.emmctukey.emmcwith_emm_optionswtcon.emmc

Dependencies:estimabilitymvtnormnumDeriv

Quick start guide for emmeans

Rendered fromAQuickStart.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-12-18
Started: 2023-01-16

Basics of estimated marginal means

Rendered frombasics.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-12-18
Started: 2017-09-30

Comparisons and contrasts in emmeans

Rendered fromcomparisons.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-12-18
Started: 2017-09-30

Confidence intervals and tests in emmeans

Rendered fromconfidence-intervals.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-12-18
Started: 2017-09-30

Explanations supplement

Rendered fromxplanations.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-05-04
Started: 2020-05-15

FAQs for emmeans

Rendered fromFAQs.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-10-14
Started: 2017-09-30

For developers: Extending emmeans

Rendered fromxtending.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-12-18
Started: 2018-04-18

Index of vignette topics

Rendered fromvignette-topics.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-12-18
Started: 2018-04-07

Interaction analysis in emmeans

Rendered frominteractions.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-05-04
Started: 2017-09-30

Models supported by emmeans

Rendered frommodels.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-12-18
Started: 2017-09-30

Prediction in emmeans

Rendered frompredictions.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-05-04
Started: 2019-06-06

Re-engineering CLDs

Rendered fromre-engineering-clds.rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-05-08
Started: 2022-10-17

Sophisticated models in emmeans

Rendered fromsophisticated.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-05-04
Started: 2017-10-12

Transformations and link functions in emmeans

Rendered fromtransformations.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-12-18
Started: 2017-09-30

Utilities and options for emmeans

Rendered fromutilities.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-05-04
Started: 2017-10-02

Working with messy data

Rendered frommessy-data.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2024-12-18
Started: 2017-09-30

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 add_submodels 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 Cohen 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 with_emm_options
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
Multivariate regriddingmvregrid
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