search for: longcolumnheading

Displaying 1 result from an estimated 1 matches for "longcolumnheading".

2004 Jul 15
1
formatting tables with long column names via package:xtable within Sweave
...of the column. So the number of columns that fits onto a page is limited by the width of the column names. I would like to spread the column names over two or more lines, to reduce that column's width, but xtable doesn't seem to allow for this. For example, the code xtable(data.frame( longColumnHeading = 1, "column heading with spaces" = "b")) produces the following latex. % latex table generated in R 1.9.1 by xtable 1.2-2 package % Thu Jul 15 10:36:24 2004 \begin{table}[ht] \begin{center} \begin{tabular}{rrl} \hline & longColumnHeading & column.headin...