Describes the physical page and the figure body rectangle used by every renderer.
Arguments
- orientation
"landscape"or"portrait".- paper
Paper size in inches as
c(short, long); for examplec(8.5, 11)for US Letter orc(8.27, 11.69)for A4.- margin
Six margins in inches, in r2rtf order: left, right, top, bottom, header, footer.
- fig_width, fig_height
Size of the figure body in inches.
NULLmeans 9 x 6 in, shrunk to fit the printable area if needed.
Examples
tlf_page()
#> $orientation
#> [1] "landscape"
#>
#> $width
#> [1] 11
#>
#> $height
#> [1] 8.5
#>
#> $margin
#> [1] 0.5 0.5 0.5 0.5 0.5 0.5
#>
#> $fig_width
#> [1] 9
#>
#> $fig_height
#> [1] 6
#>
#> attr(,"class")
#> [1] "tlf_page"
tlf_page("portrait", fig_width = 6.5, fig_height = 8)
#> $orientation
#> [1] "portrait"
#>
#> $width
#> [1] 8.5
#>
#> $height
#> [1] 11
#>
#> $margin
#> [1] 0.5 0.5 0.5 0.5 0.5 0.5
#>
#> $fig_width
#> [1] 6.5
#>
#> $fig_height
#> [1] 8
#>
#> attr(,"class")
#> [1] "tlf_page"