im trying to get a fine 3-way crosstable using ftable with pander. In general, the output is fine, but the row and column names are in quotation marks, which are not perfect.
Example:
library(pander)
varA <-c("a","a","a","a","b","b")
varB <-c(1,2,1,2,1,2)
varC <-c(1,2,3,4,5,6)
tab1<-ftable(table(varA,varB,varC))
pander(tab1)
I'm not sure how I can insert the generated table so that it does not look terrible (copy some strange things into it), but after knitting it looks like in the screenshot below:

Thanks in advance for your help.
source
share