assume I have a simply xtable, made as follows:
library(xtable)
x <- as.data.frame(matrix(1:9,3,3))
x <- xtable(x)
How can I print this table with only the columns (i.e. '&'s), but not anything around? I do not want hlines explicitly.
Using:
print(x,
only.contents=T)
returns \hline
before and after the table. I'd be also happy with a workaround, even though I hope it is possible somehow within xtable to set this up as intended. Thanks for any hints.