Obtain leastsquares means for linear, generalized linear, and mixed models. Compute contrasts or linear functions of leastsquares means, and comparisons of slopes. Plots and compact letter displays. Leastsquares means were proposed in Harvey, W (1960) "Leastsquares analysis of data with unequal subclass numbers", Tech Report ARS208, 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), 216221 <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.
Package details 


Author  Russell Lenth [aut, cre, cph] 
Maintainer  Russell Lenth <[email protected]> 
License  GPL2  GPL3 
Version  2.300 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.