2

I want to make a table from the means and contrasts from the emmeans() function in R. Is there an easy way to do this?

MapDeath
  • 65
  • 7
  • Please provide a reproducible example of your dataset, desired output and the code you have tried so far (see: https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) – dc37 Mar 14 '20 at 17:06

1 Answers1

-1

Use as.data.frame() and then whatever else you want to put it in the form you want. There is also an xtable method that preserves the annotations. It’s all documented.

Russ Lenth
  • 5,922
  • 2
  • 13
  • 21