lsmeans: Least-Squares Means

Obtain least-squares means for many linear, generalized linear, and mixed models. Compute contrasts or linear functions of least-squares means, and comparisons of slopes. Plots and compact letter displays. Least-squares means were proposed in Harvey, W (1960) "Least-squares analysis of data with unequal subclass numbers", Tech Report ARS-20-8, USDA National Agricultural Library, and discussed further 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>. NOTE: Users are encouraged to switch to the 'emmeans' package, as 'lsmeans' will be archived in the not-too-distant future.

Version: 2.27-61
Depends: methods, R (≥ 3.2)
Imports: estimability, graphics, stats, utils, nlme, coda (≥ 0.17), multcomp, plyr, mvtnorm, xtable (≥ 1.8-2)
Suggests: car, lattice, MCMCpack, mediation, multcompView, ordinal, pbkrtest (≥ 0.4-1), CARBayes, coxme, gee, geepack, glmmADMB, lme4, lmerTest (≥ 2.0.32), MASS, MCMCglmm, nnet, pscl, rsm, rstan, rstanarm, survival
Published: 2017-11-05
Author: Russell Lenth [aut, cre, cph], Jonathon Love [ctb]
Maintainer: Russell Lenth <russell-lenth at uiowa.edu>
BugReports: https://github.com/rvlenth/lsmeans/issues
License: GPL-2 | GPL-3
NeedsCompilation: no
Citation: lsmeans citation info
Materials: README NEWS
In views: SocialSciences, Survival
CRAN checks: lsmeans results

Downloads:

Reference manual: lsmeans.pdf
Vignettes: Using lsmeans
Package source: lsmeans_2.27-61.tar.gz
Windows binaries: r-devel: lsmeans_2.27-61.zip, r-release: lsmeans_2.27-61.zip, r-oldrel: lsmeans_2.27-61.zip
OS X El Capitan binaries: r-release: lsmeans_2.27-61.tgz
OS X Mavericks binaries: r-oldrel: lsmeans_2.27-61.tgz
Old sources: lsmeans archive

Reverse dependencies:

Reverse depends: afex, ibd
Reverse imports: jmv, nauf, StroupGLMM
Reverse suggests: agridat, ARTool, broom, RVAideMemoire, standardize, xtable

Linking:

Please use the canonical form https://CRAN.R-project.org/package=lsmeans to link to this page.