Bold or Italicize labels or levels in gtsummary tables

bold_labels(x)

bold_levels(x)

italicize_labels(x)

italicize_levels(x)

Arguments

x

Object created using gtsummary functions

Value

Functions return the same class of gtsummary object supplied

Functions

  • bold_labels: Bold labels in gtsummary tables

  • bold_levels: Bold levels in gtsummary tables

  • italicize_labels: Italicize labels in gtsummary tables

  • italicize_levels: Italicize levels in gtsummary tables

Example Output

Author

Daniel D. Sjoberg

Examples

tbl_bold_ital_ex <-
  trial[c("trt", "age", "grade")] %>%
  tbl_summary() %>%
  bold_labels() %>%
  bold_levels() %>%
  italicize_labels() %>%
  italicize_levels()