Appends footnotes after the existing ones and drops exact duplicates, keeping the first occurrence. Renderers use this to place builder-derived notes (for example a hazard ratio) after the table-of-contents footnotes.
Arguments
- titles
A
tlf_titles()object.- footnotes
Character vector to append.
Examples
t <- tlf_titles("Overall Survival", type = "Figure", number = "14.2.1")
tlf_titles_add_footnotes(t, "Log-rank p-value: 0.032")$footnotes
#> [1] "Log-rank p-value: 0.032"