lsmeans

Least-Squares Means

CRAN Package

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.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 7,615 times in the last 30 days. That's a lot of interest! Someone might even write a blog post about it. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 340 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 2, 2025
0 downloadsMar 3, 2025
208 downloadsMar 4, 2025
304 downloadsMar 5, 2025
196 downloadsMar 6, 2025
175 downloadsMar 7, 2025
69 downloadsMar 8, 2025
154 downloadsMar 9, 2025
358 downloadsMar 10, 2025
276 downloadsMar 11, 2025
290 downloadsMar 12, 2025
281 downloadsMar 13, 2025
190 downloadsMar 14, 2025
169 downloadsMar 15, 2025
56 downloadsMar 16, 2025
204 downloadsMar 17, 2025
226 downloadsMar 18, 2025
265 downloadsMar 19, 2025
232 downloadsMar 20, 2025
159 downloadsMar 21, 2025
72 downloadsMar 22, 2025
132 downloadsMar 23, 2025
363 downloadsMar 24, 2025
488 downloadsMar 25, 2025
424 downloadsMar 26, 2025
385 downloadsMar 27, 2025
497 downloadsMar 28, 2025
162 downloadsMar 29, 2025
158 downloadsMar 30, 2025
374 downloadsMar 31, 2025
408 downloadsApr 1, 2025
340 downloadsApr 2, 2025
0 downloadsApr 3, 2025
0 downloadsApr 4, 2025
0 downloadsApr 5, 2025
56
497

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 75,084 times in the last 365 days. The kind of number that gets mentioned in a keynote speech. Well done! The day with the most downloads was Mar 28, 2025 with 497 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Depends1 package
  • Reverse Suggests1 package