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

5,003

Version

2.27-60

License

GPL-2 | GPL-3

Maintainer

Russell Lenth

Last Published

November 2nd, 2017

Functions in lsmeans (2.27-60)

lsmeans-package

Least-squares means
add_grouping

Create a grouping factor
lsmeans

Least-squares means (or predicted marginal means)
lsmip

Least-squares (predicted marginal) means interaction plot
fiber

Fiber data
glht

lsmeans support for glht
make.tran

Response transformations
models

Models supported in lsmeans
cld

Compact letter display of pairwise comparisons
contrast

Methods for obtaining analyses ref.grid and lsmobj objects
nutrition

Nutrition data
oranges

Orange sales
transition

Transition to emmeans
update

Set or retrieve options for objects and summaries in lsmeans
MOats

Oats data in multivariate form
auto.noise

Auto Pollution Filter Noise
pairwise.lsmc

Contrast families
ref.grid

Create a reference grid from a fitted model
recover.data

Support functions for creating a reference grid
feedlot

Feedlot data
ref.grid-class

Classes "ref.grid" and "lsmobj"
summary

Methods for ref.grid objects