im trying to get a lovely 3-way crosstable using ftable with pander. In general output is ok, but row and column names are all in quotation marks which isnt ideal.
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)
Im not sure how i can insert formated table so it wouldnt look awful (copy paste does some wierd things with it), but after knitring it looks like on screenshot below:
Thank in advance for your help.