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 -- View this message in context: http://www.nabble.com/Two-Column-group-names-using-Latex%28Hmisc%29-tp22300716p22300716.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@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.