[R] Does a general latex table-making function exist?

Duncan Murdoch murdoch.duncan at gmail.com
Wed Jul 31 22:29:22 CEST 2013

On 13-07-31 4:03 PM, Frank Harrell wrote:
> Our Hmisc package summary.formula function and its latex methods can
> make some fairly advanced tables.  But the tables have to be regular.
> For example, all rows of the tables are based on the same data frame.
> I'm thinking that what is needed is a ggplot2-like set of functions for
> building a table row-by-row or row-by-block of rows.  Different row
> blocks could have different denominators, e.g., the first part of the
> table might be on everyone and a latter block of rows be for females,
> with different summary statistics computed.
> Has anyone already written functions creating LaTeX markup with such
> functionality?

My tables package does some of what you are asking for; I'm not sure if 
it does everything.

Duncan Murdoch

More information about the R-help mailing list