Skip to content
Prev 172315 / 398502 Next

Two Column-group names using Latex(Hmisc)

Hi,

Using the following code I can generate the attachment "Original.pdf":

latex(test, file="C:/Documents and Settings/darej/My
Documents/James/READY.tex", 
      title = "", 
      rowname = NULL, 
      cgroup = c("Fishstock", stocknames), 
      n.cgroup = c(1, rep(2,nostocks)), 
      colheads = c("Year", rep(c("Catch", "TACC"),
nostocks),landscape=TRUE))

Is there a way to add another row of column group names (see QMA's row in
"desired.pdf").  Thanks for your help.

Regards,
James

http://www.nabble.com/file/p22300716/original.pdf original.pdf 
http://www.nabble.com/file/p22300716/desired.pdf desired.pdf