Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

emm_list-object

The emm_list class


Description

An emm_list object is simply a list of emmGrid objects. Such a list is returned, for example, by emmeans with a two-sided formula or a list as its specs argument.

Details

Methods for emm_list objects include summary, coef, confint, contrast, pairs, plot, print, and test. These are all the same as those methods for emmGrid objects, with an additional which argument (integer) to specify which members of the list to use. The default is which = seq_along(object); i.e., the method is applied to every member of the emm_list object. The exception is plot, where only the which[1]th element is plotted.

As an example, to summarize a single member – say the second one – of an emm_list, one may use summary(object, which = 2), but it is probably preferable to directly summarize it using summary(object[[2]]).

Note

No export option is provided for printing an emm_list (see print.emmGrid). If you wish to export these objects, you must do so separately for each element in the list. #'


emmeans

Estimated Marginal Means, aka Least-Squares Means

v1.6.0
GPL-2 | GPL-3
Authors
Russell V. Lenth [aut, cre, cph], Paul Buerkner [ctb], Maxime Herve [ctb], Jonathon Love [ctb], Hannes Riebl [ctb], Henrik Singmann [ctb]
Initial release
2021-04-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.