View source: R/add_titles_footnotes.R
new_title_footnote | R Documentation |
Create a new title or footnote flextable
new_title_footnote(x, sect = c("titles", "footnotes", "footnote_page"))
x |
a list of character vectors, no more than 3 elements to a vector. |
sect |
Either "titles" or "footnotes" |
A flextable object
title <- new_title_footnote(
list(
# We'll add tools to automate paging
c("Protocol: CDISCPILOT01", "Page {PAGE} of {NUMPAGES}"),
c("Table 14-2.01"),
c("Summary of Demographic and Baseline Characteristics")
),
"titles"
)
footnote <- new_title_footnote(
list(
# We'll add tools to automate paging
c("Page {PAGE}", "Total Pages: {NUMPAGES}")
),
"footnotes"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.