View source: R/generate_modifiers.R
| add_footnote | R Documentation |
Add a footnote attribute to a table
add_footnote(
data,
footnote,
locations = NULL,
placement = c("auto", "right", "left")
)
data |
A data frame, tibble, or |
footnote |
The footnote text to be added. |
locations |
Locations where the footnote should be applied. Default is NULL (applies to entire table). |
placement |
Placement of the footnote. One of "auto" (default), "right", or "left". |
The input data frame with an added footnote attribute.
add_footnote(
dplyr::starwars,
footnote = "This is a footnote.",
locations = c("A1", "B2"),
placement = "right"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.