[R] Custom LaTeX tables

Dieter Menne dieter.menne at menne-biomed.de
Tue Feb 26 17:08:30 CET 2008


Werner Wernersen <pensterfuzzer <at> yahoo.de> writes:

> I am very happy that I have Sweave and R to write my
> papers. But I still have to do some tables by hand
> since I have not found out how I can customize the
> latex tables produced by R further (I mainly use
> xtable()). Like for instance, I have a table which
> needs an extra row every few rows as a group header
> and sometimes I want some extra horizontal lines in
> the table and also a multicolumn heading.

Use latex in package Hmisc, it is very powerful and has options
to do what you need. And if something is missing, you can
plug in your own table handling such as I did quick and 
very dirty for ftable:

http://finzi.psych.upenn.edu/R/Rhelp02a/archive/115684.html 

Dieter



More information about the R-help mailing list