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:
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')) |
Bug tracker:https://github.com/rvlenth/emmeans/issues
Pkgdown:https://rvlenth.github.io
Last updated 1 hours agofrom:15f129cdf1. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 18 2024 |
R-4.5-win | OK | Dec 18 2024 |
R-4.5-linux | OK | Dec 18 2024 |
R-4.4-win | OK | Dec 18 2024 |
R-4.4-mac | OK | Dec 18 2024 |
R-4.3-win | OK | Dec 18 2024 |
R-4.3-mac | OK | Dec 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.Rmd
usingknitr::rmarkdown
on Dec 18 2024.Last update: 2024-12-18
Started: 2023-01-16
Basics of estimated marginal means
Rendered frombasics.Rmd
usingknitr::rmarkdown
on Dec 18 2024.Last update: 2024-12-18
Started: 2017-09-30
Comparisons and contrasts in emmeans
Rendered fromcomparisons.Rmd
usingknitr::rmarkdown
on Dec 18 2024.Last update: 2024-12-18
Started: 2017-09-30
Confidence intervals and tests in emmeans
Rendered fromconfidence-intervals.Rmd
usingknitr::rmarkdown
on Dec 18 2024.Last update: 2024-12-18
Started: 2017-09-30
Explanations supplement
Rendered fromxplanations.Rmd
usingknitr::rmarkdown
on Dec 18 2024.Last update: 2024-05-04
Started: 2020-05-15
FAQs for emmeans
Rendered fromFAQs.Rmd
usingknitr::rmarkdown
on Dec 18 2024.Last update: 2024-10-14
Started: 2017-09-30
For developers: Extending emmeans
Rendered fromxtending.Rmd
usingknitr::rmarkdown
on Dec 18 2024.Last update: 2024-12-18
Started: 2018-04-18
Index of vignette topics
Rendered fromvignette-topics.Rmd
usingknitr::rmarkdown
on Dec 18 2024.Last update: 2024-12-18
Started: 2018-04-07
Interaction analysis in emmeans
Rendered frominteractions.Rmd
usingknitr::rmarkdown
on Dec 18 2024.Last update: 2024-05-04
Started: 2017-09-30
Models supported by emmeans
Rendered frommodels.Rmd
usingknitr::rmarkdown
on Dec 18 2024.Last update: 2024-12-18
Started: 2017-09-30
Prediction in emmeans
Rendered frompredictions.Rmd
usingknitr::rmarkdown
on Dec 18 2024.Last update: 2024-05-04
Started: 2019-06-06
Re-engineering CLDs
Rendered fromre-engineering-clds.rmd
usingknitr::rmarkdown
on Dec 18 2024.Last update: 2024-05-08
Started: 2022-10-17
Sophisticated models in emmeans
Rendered fromsophisticated.Rmd
usingknitr::rmarkdown
on Dec 18 2024.Last update: 2024-05-04
Started: 2017-10-12
Transformations and link functions in emmeans
Rendered fromtransformations.Rmd
usingknitr::rmarkdown
on Dec 18 2024.Last update: 2024-12-18
Started: 2017-09-30
Utilities and options for emmeans
Rendered fromutilities.Rmd
usingknitr::rmarkdown
on Dec 18 2024.Last update: 2024-05-04
Started: 2017-10-02
Working with messy data
Rendered frommessy-data.Rmd
usingknitr::rmarkdown
on Dec 18 2024.Last update: 2024-12-18
Started: 2017-09-30
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Estimated marginal means (aka Least-squares means) | emmeans-package |
Convert to and from 'emmGrid' objects | as.emmGrid as.emm_list as.list.emmGrid |
Support for MCMC-based estimation | as.mcmc.emmGrid as.mcmc.emm_list as.mcmc.list.emmGrid as.mcmc.list.emm_list mcmc-support |
Auto Pollution Filter Noise | auto.noise |
Compact letter displays | cld.emmGrid cld.emm_list |
Manipulate factors in a reference grid | add_grouping add_submodels comb_facs permute_levels split_fac |
Contrasts and linear functions of EMMs | coef.emmGrid contrast contrast.emmGrid pairs.emmGrid weights.emmGrid |
Contrast families | consec.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 thereof | eff_size |
Support for 'multcomp::glht' | as.glht as.glht.emmGrid emm glht-support glht.emmGrid glht.emmlf modelparm.emmwrap |
Run or list additional examples | emm_example |
The 'emm_list' class | as.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 options | emm_defaults emm_options get_emm_option with_emm_options |
Estimated marginal means (Least-squares means) | emmeans |
The 'emmGrid' class | emmGrid-class |
Interaction-style plots for estimated marginal means | emmip emmip.default emmip_ggplot emmip_lattice |
Construct an 'emmGrid' object from scratch | emmobj |
Estimated marginal means of linear trends | emtrends |
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 data | feedlot |
Fiber data | fiber |
Summarize an emmGrid from a Bayesian model | hpd.summary |
Compute joint tests of the terms in a model | joint_tests make.meanint make.symmint meanint symmint |
Wrappers for alternative naming of EMMs | get.lsm.option lsm lsm.options lsmeans lsmip lsmobj lstrends wrappers |
Response-transformation extensions | inverse make.tran |
Oats data in multivariate form | MOats |
Models supported in 'emmeans' | models |
Multivariate contrasts | mvcontrast |
Multivariate regridding | mvregrid |
Neuralgia data | neuralgia |
Nutrition data | nutrition |
Sales of oranges | oranges |
Effects of dietary protein on free plasma leucine concentration in pigs | pigs |
Plot an 'emmGrid' or 'summary_emm' object | plot.emmGrid plot.summary_emm |
Pairwise P-value matrix (plus other statistics) | pwpm |
Pairwise P-value plot | pwpp |
Quick and dirty reference grid | qdrg |
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 model | ref_grid |
Reconstruct a reference grid with a new transformation or simulations | regrid |
Miscellaneous methods for 'emmGrid' objects | print.emmGrid str.emmGrid vcov.emmGrid |
Summaries, predictions, intervals, and tests for 'emmGrid' objects | as.data.frame.emmGrid confint.emmGrid predict.emmGrid summary.emmGrid test test.emmGrid [.summary_emm |
Unbalanced dataset | ubds |
Dare to be un-"tidy"! | untidy |
Update an 'emmGrid' object | levels<-.emmGrid update.emmGrid update.summary_emm |
Using 'xtable' for EMMs | print.xtable_emm xtable.emmGrid xtable.summary_emm |