Package: lsmeans 2.30-1

lsmeans: Least-Squares Means

Obtain least-squares means for 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: lsmeans now relies primarily on code in the 'emmeans' package. 'lsmeans' will be archived in the near future.

Authors:Russell Lenth [aut, cre, cph]

lsmeans_2.30-1.tar.gz
lsmeans_2.30-1.zip(r-4.5)lsmeans_2.30-1.zip(r-4.4)lsmeans_2.30-1.zip(r-4.3)
lsmeans_2.30-1.tgz(r-4.4-any)lsmeans_2.30-1.tgz(r-4.3-any)
lsmeans_2.30-1.tar.gz(r-4.5-noble)lsmeans_2.30-1.tar.gz(r-4.4-noble)
lsmeans_2.30-1.tgz(r-4.4-emscripten)lsmeans_2.30-1.tgz(r-4.3-emscripten)
lsmeans.pdf |lsmeans.html
lsmeans/json (API)
NEWS

# Install 'lsmeans' in R:
install.packages('lsmeans', repos = c('https://rvlenth.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/rvlenth/lsmeans/issues

Datasets:

On CRAN:

7.76 score 11 stars 1.7k scripts 6.3k downloads 758 mentions 5 exports 4 dependencies

Last updated 6 years agofrom:c79ceabf46. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 26 2024
R-4.5-winNOTENov 26 2024
R-4.5-linuxNOTENov 26 2024
R-4.4-winOKNov 26 2024
R-4.4-macOKNov 26 2024
R-4.3-winOKNov 26 2024
R-4.3-macOKNov 26 2024

Exports:contrastlsm.basislsmeansrecover.dataref.grid

Dependencies:emmeansestimabilitymvtnormnumDeriv

Readme and manuals

Help Manual

Help pageTopics
Least-squares meanslsmeans-package
Data setsauto.noise feedlot fiber MOats nutrition oranges
Create a reference grid from a fitted modelcontrast lsm.basis lsmeans recover.data ref.grid summary.ref.grid
The 'ref.grid' and 'lsmobj' classeslsmobj-class ref.grid-class
Transition to 'emmeans'emmeans-transition transition