I am trying to produce a "longitudinal" layout for long tables in RMarkdown with kable
. For example, I would like a table to be split over two columns, like in the example below:
dd <- data.frame(state=state.abb, freq=1:50)
kable(list(state=dd[1:25,], state=dd[26:50,]))
However, this hack produces an output that looks a way worse than the normal kable
output (for example the header is not in bold). Is there a "proper" way to do this using kable
?