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