Bold or italicize labels or levels in gtsummary tables
Usage
bold_labels(x)
italicize_labels(x)
bold_levels(x)
italicize_levels(x)
# S3 method for class 'gtsummary'
bold_labels(x)
# S3 method for class 'gtsummary'
bold_levels(x)
# S3 method for class 'gtsummary'
italicize_labels(x)
# S3 method for class 'gtsummary'
italicize_levels(x)
# S3 method for class 'tbl_cross'
bold_labels(x)
# S3 method for class 'tbl_cross'
bold_levels(x)
# S3 method for class 'tbl_cross'
italicize_labels(x)
# S3 method for class 'tbl_cross'
italicize_levels(x)
Examples
# Example 1 ----------------------------------
tbl_summary(trial, include = c("trt", "age", "response")) |>
bold_labels() |>
bold_levels() |>
italicize_labels() |>
italicize_levels()
Characteristic
N = 2001
1 n (%); Median (Q1, Q3)