Learn R Programming

⚠️There's a newer version (2.30-2) of this package.Take me there.

R package lsmeans: Least-squares means (estimated marginal means)

NEWS

The lsmeans package is being deprecated. Users are encouraged to switch to emmeans (estimated marginal means), now available on CRAN. The lsmeans package will be archived on CRAN at some not-too-distant time in the future. Note that:

  • R scripts that use lsmeans will still work with emmeans after making minor changes (use emmeans:::convert_scripts()).
  • Existing objects created with lsmeans can be converted to work with the new package via emmeans:::convert_workspace().
  • See vignette("transition-from-lsmeans", "emmeans") for more details.

Copy Link

Version

Install

install.packages('lsmeans')

Monthly Downloads

8,830

Version

2.27-62

License

GPL-2 | GPL-3

Maintainer

Russell Lenth

Last Published

May 11th, 2018

Functions in lsmeans (2.27-62)

update

Set or retrieve options for objects and summaries in lsmeans
ref.grid-class

Classes "ref.grid" and "lsmobj"
summary

Methods for ref.grid objects
MOats

Oats data in multivariate form
cld

Compact letter display of pairwise comparisons
auto.noise

Auto Pollution Filter Noise
glht

lsmeans support for glht
fiber

Fiber data
feedlot

Feedlot data
lsmeans-package

Least-squares means
recover.data

Support functions for creating a reference grid
add_grouping

Create a grouping factor
contrast

Methods for obtaining analyses ref.grid and lsmobj objects
nutrition

Nutrition data
lsmeans

Least-squares means (or predicted marginal means)
oranges

Orange sales
lsmip

Least-squares (predicted marginal) means interaction plot
pairwise.lsmc

Contrast families
make.tran

Response transformations
transition

Transition to emmeans
ref.grid

Create a reference grid from a fitted model
models

Models supported in lsmeans