'latex' Category
-
Jul022009
Summarizing a data-frame with xtable
Today I had to pretty-print a summary of a R data-frame composed of lots of factors. I thought I would use LaTeX and the xtable package.
Unfortunately, if you try the natural
xtable(summary(data))
you get a table that is very, very wide. Since there’s no easy way in LaTeX to split wide tables over multiple pages, that approach [...]