I'm dealing with ANOVA tables which I am outputting in my R Markdown using xtable
and outputting to PDF.
However, when I'm using functions like TukeyHSD
or model.tables
to do comparative analysis, xtable
is giving me the error (in the case of model.tables
):
Error in UseMethod("xtable") : no applicable method for 'xtable' applied to an object of class "c('tables_aov', 'list.of')"
How do I get around this?
I'm trying to find a way to output these in a way that isn't just basic R output but I'm running in to this problem with any of the other packages like texreg
or stargazer