latex in Hmisc can do that with the n.cgroup= and n.rgroup= args
although if your tables are getting very complicated you might
be best off just generating the latex yourself since then you
get all the flexibility of latex.
On Fri, May 23, 2008 at 1:26 PM, Arshavir <grigorian at gmail.com>
wrote:> Hi,
>
> What's the best way to build tables with multiple sets of column/row
> headings, each spanning 1 or more cols/rows, similar to the colspan/rowspan
> options in HTML.
>
> I am using Sweave but couldn't find an option to do this in xtable. I
can
> obviously build it by hand, just wanted to make sure there wasn't an
easier
> way.
>
> Thanks.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>