Paper record

W2254509181

Least-Squares Means: The R Package lsmeans

Russell V. Lenth

Year
2016
Venue
Journal of Statistical Software
References
13
Cited by
6,613

Details and counts from OpenAlex.

Abstract

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.