This function will put the table on an single landscape page. It's useful for wide tables that can't be printed on a portrait page.
landscape(kable_input, margin = NULL)
Output of knitr::kable()
with format
specified
Customizable page margin for special needs. Values can be "1cm", "1in" or similar.
if (FALSE) {
landscape(knitr::kable(head(mtcars), "latex"))
}
Run the code above in your browser using DataLab