Least-Squares Means: The R Package lsmeans
By Russell V. Lenth. 2016
5,676 citations recorded by the source corpus.
Least-squares means are predictions from a linear model, or averages thereof. They are useful in the analysis of experimental data for summarizing the effects of factors, and for testing linear contrasts among predictions. The lsmeans package (Lenth 2016) provides a simple way of obtaining least-squares means and contrasts thereof. It supports many models fitted by R (R Core Team 2015) core packages (as well as a few key contributed ones) that fit linear or mixed models, and provides a simple way of extending it to cover more model classes.
Subfields: Applied Mathematics, Artificial Intelligence
View Paper: https://www.semanticscholar.org/paper/0cd0679fad1855582fda34593d39abfd2b488a75
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Applied Mathematics
- J. Noriega
- J. Melis
- F. V. van Ogtrop
- Anshuka Anshuka
- R. Willem Vervoort
- Taísi B. Sorrini
- E. Palmer-Young
- M. March‐Salas
In Artificial Intelligence
- J. Noriega
- J. Melis
- F. V. van Ogtrop
- Anshuka Anshuka
- R. Willem Vervoort
- Taísi B. Sorrini
- E. Palmer-Young
- M. March‐Salas
Citations in the corpus
- The potential of different semi-natural habitats to sustain pollinators and natural enemies in European agricultural landscapes (2019, methodology): “…increase their local availability and associated natural pest control services in nearby crops (Wäckers and van Rijn, 2012; Tschumi et al., 2015, 2016), floral species richness or floral abundance of distinctive plant trait groups were poor predictors of predatory fly or parasitic wasp density…”
- Severe COVID-19 Is Marked by a Dysregulated Myeloid Cell Compartment (2020, positive): “4-13 (CRAN) lsmeans (R package) Lenth, 2016 v2.”
- Drought forecasting through statistical models using standardised precipitation index: a systematic review and meta-regression analysis (2019, positive): “2017) and the lsmeans (Lenth 2016).”
- Chemistry of floral rewards: intra- and interspecific variability of nectar and pollen secondary metabolites across taxa (2018, methodology): “Post hoc pairwise comparisons with Tukey adjustment for multiple tests were 381 made using R package lsmeans (Lenth 2016).”
- The relative performance of sampling methods for native bees: an empirical test and review of the literature (2020, methodology): “Differences between levels were analyzed using Tukey’s post hoc tests in the package lsmeans (Lenth 2016).”
- Towards estimating the economic cost of invasive alien species to African crop and livestock production (2021, methodology): “If a significant difference among the impact types or species groups was found, differences between factor levels were analysed using the lsmeans() function [package lsmeans, version 2.30–0; (Lenth 2016)] with the Tukey method to adjust P values for multiple comparisons.”
- Exotic eucalypts: From demonized trees to allies of tropical forest restoration? (2019, methodology): “…Linear Mixed Model, following a model construction approach (Zuur et al., 2009), using glmer function from lme4 package (Bates, Mächler, Bolker, & Walker, 2015) and post hoc test with ls‐ means package (Lenth, 2016), where time and treatment were fixed factors and plot ID as random factor.”
- lmerTest Package: Tests in Linear Mixed Effects Models (2017, methodology): “The R package lsmeans package Lenth (2016a) provides a more general approach for analyzing least squares means and also supports not only linear mixed models but a broad range of different types of models.”
- Monitoring insect pollinators and flower visitation: The effectiveness and feasibility of different survey methods (2019, methodology): “The lsmeans package (Lenth, 2016) was used to calculate least square means and marginal effects plots from lme4 output were produced using the SJPlot package (Lüdecke, 2017).”