View source: R/modify_missing_symbol.R
modify_missing_symbol | R Documentation |
Specify how missing values will be represented in the printed table.
By default, a blank space is printed for all NA
values.
modify_missing_symbol(x, symbol, columns, rows)
x |
( |
symbol |
( |
columns |
( |
rows |
(predicate |
Updated gtsummary object
# Use the abbreivation "Ref." for reference rows instead of the em-dash
lm(marker ~ trt, data = trial) |>
tbl_regression() |>
modify_missing_symbol(
symbol = "Ref.",
columns = c(estimate, conf.low, conf.high),
rows = reference_row == TRUE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.