powered by
Add footnote to your favorite kable output.
add_footnote( input, label = NULL, notation = getOption("kable_footnote_notation", "alphabet"), threeparttable = FALSE, escape = TRUE )
The direct output of your kable function or your last kableExtra function.
kable
kableExtra
A vector of footnotes you want to add. You don't need to add notations in your notes.
You can select the format of your footnote notation from number, alphabet, symbol and none.
number
alphabet
symbol
none
Boolean value indicating if a threeparttable scheme should be used.
Logical value controlling if the label needs to be escaped. Default is TRUE.
footnote(), footnote_marker_number()
footnote()
footnote_marker_number()
if (FALSE) { x <- knitr::kable(head(mtcars), "html") add_footnote(x, c("footnote 1", "footnote 2"), notation = "symbol") }
Run the code above in your browser using DataLab