landscape: Print the table on an isolated landscape page in PDF

Description Usage Arguments Examples

View source: R/landscape.R

Description

This function will put the table on an single landscape page. It's useful for wide tables that cann't be printed on a portrait page.

Usage

1
landscape(kable_input, margin = NULL)

Arguments

kable_input

Output of knitr::kable() with format specified

margin

Customizable page margin for special needs. Values can be "1cm", "1in" or similar.

Examples

1
2
3
4
## Not run: 
landscape(knitr::kable(head(mtcars), "latex"))

## End(Not run)

kableExtra documentation built on Feb. 20, 2021, 9:10 a.m.