Displaying 1 result from an estimated 1 matches for "prouces".
Did you mean:
produces
2013 Mar 15
2
latex(test, collabel=) returns wrong latex code?
...working with a 2-dimensional table that looks sort of like test below.
I'm trying to produce latex code that will add dimension names for both the rows and the columns.
In using the following code, latex chokes when I include collabel='Vote' but it's fine without it.
The code below prouces the latex code further below. I'm confused by this, because it looks like it's creating two bits of text for each instance of \multicolumn. Is that really allowed in \multicolumn?
Could someone clarify?
Thank you!
Yours, SJK
library(Hmisc)
test<-as.table(matrix(c(50,50,50,50), ncol=2...