Description Usage Arguments Value Examples
Add hf_line
titles/footnote objects to a rtf_doc
object
1 2 3 | add_titles(doc, ..., replace = FALSE)
add_footnotes(doc, ..., replace = FALSE)
|
doc |
|
... |
A vector of |
replace |
If FALSE, lines will be appended/ordered with current header/footer lines. If TRUE, lines will replace the existing content. |
hf_line
object(s) (i.e. titles/footnotes) to be added
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # Adding titles after rtf_doc construction
ht <- huxtable::huxtable(
column1 = 1:5,
column2 = letters[1:5]
)
rtf <- rtf_doc(ht)
rtf <- add_titles(rtf, hf_line("The Title"))
# Adding footnotes after rtf_doc construction
ht <- huxtable::huxtable(
column1 = 1:5,
column2 = letters[1:5]
)
rtf <- rtf_doc(ht)
rtf <- add_footnotes(rtf, hf_line("The Footnote"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.