Add Pageby Attributes to Table
Usage
rtf_pageby(
tbl,
page_by = NULL,
new_page = FALSE,
pageby_header = TRUE,
pageby_row = "column"
)
Arguments
- tbl
A data frame.
- page_by
Column names in a character vector to group by table in sections.
- new_page
A boolean value to indicate whether to separate grouped table into pages by sections. Default is FALSE.
- pageby_header
A boolean value to display
pageby
header at the beginning of each page. Default isTRUE
. If the value isFALSE
, thepageby
header is displayed in the first page of thepageby
group. The specialpageby
value"-----"
is to avoid displaying apageby
header for this group.- pageby_row
A character vector of location of page_by variable. Possible input are 'column' or 'first_row'.