Journal of Statistical Software

Least-Squares Means: The R Package lsmeans

Journal article · 2016 · Cited by 5,769

✓ Free legal copy found

Published version, hosted by doi.org

This is the final version, as it appears in the journal.

Read it free at doi.org →

Licence: CC BY

Other free copies

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.

DOI: 10.18637/jss.v069.i01 · Publisher: Foundation for Open Access Statistic

Guides

Find another paper