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

Frank Harrell f.harrell at Vanderbilt.Edu
Wed Jul 31 22:03:35 CEST 2013

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 


Frank E Harrell Jr Professor and Chairman      School of Medicine
                    Department of Biostatistics Vanderbilt University

More information about the R-help mailing list