View source: R/modify_source_note.R
modify_source_note | R Documentation |
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)
x |
( |
source_note |
( |
text_interpret |
( |
source_note_id |
( |
Source notes are not supported by as_kable_extra()
.
gtsummary object
# Example 1 ----------------------------------
tbl <- tbl_summary(trial, include = c(marker, grade), missing = "no") |>
modify_source_note("Results as of June 26, 2015")
# Example 2 ----------------------------------
remove_source_note(tbl, source_note_id = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.