Add and remove source notes from a table. Source notes are similar to footnotes, expect they are not linked to a cell in the table.
modify_source_note(x, source_note, text_interpret = c("md", "html"))
remove_source_note(x, source_note_id)
(gtsummary
)
A gtsummary object.
(string
)
A string to add as a source note.
(string
)
String indicates whether text will be interpreted with
gt::md()
or gt::html()
. Must be "md"
(default) or "html"
.
(integers
)
Integers specifying the ID of the source note to remove.
Source notes are indexed sequentially at the time of creation.
gtsummary object
Source notes are not supported by as_kable_extra()
.