powered by
A gtsummary theme for Roche tables
Calls the gtsummary::theme_gtsummary_compact() theme.
gtsummary::theme_gtsummary_compact()
Uses label_roche_pvalue() as the default formatting function for all p-values.
label_roche_pvalue()
Defaults to a mono-spaced font for gt tables.
theme_gtsummary_roche(set_theme = TRUE, font_size = NULL)
theme list
(scalar logical) Logical indicating whether to set the theme. Default is TRUE. When FALSE the named list of theme elements is returned invisibly
logical
TRUE
FALSE
(scalar numeric) Numeric font size for compact theme. Default is 13 for gt tables, and 8 for all other output types
numeric
theme_gtsummary_roche() tbl_demographics(gtsummary::trial, by = trt, include = c(age, grade)) gtsummary::reset_gtsummary_theme()
Run the code above in your browser using DataLab