Bold or Italicize labels or levels in gtsummary tables
bold_labels(x)bold_levels(x)
italicize_labels(x)
italicize_levels(x)
Object created using gtsummary functions
Functions return the same class of gtsummary object supplied
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
Other tbl_summary tools:
add_ci()
,
add_n.tbl_summary()
,
add_overall()
,
add_p.tbl_summary()
,
add_q()
,
add_stat_label()
,
inline_text.tbl_summary()
,
inline_text.tbl_survfit()
,
modify
,
separate_p_footnotes()
,
tbl_custom_summary()
,
tbl_merge()
,
tbl_split()
,
tbl_stack()
,
tbl_strata()
,
tbl_summary()
Other tbl_regression tools:
add_global_p()
,
add_q()
,
combine_terms()
,
inline_text.tbl_regression()
,
modify
,
tbl_merge()
,
tbl_regression()
,
tbl_split()
,
tbl_stack()
,
tbl_strata()
Other tbl_uvregression tools:
add_global_p()
,
add_q()
,
inline_text.tbl_uvregression()
,
modify
,
tbl_merge()
,
tbl_split()
,
tbl_stack()
,
tbl_strata()
,
tbl_uvregression()
# NOT RUN {
tbl_bold_ital_ex <-
trial[c("trt", "age", "grade")] %>%
tbl_summary() %>%
bold_labels() %>%
bold_levels() %>%
italicize_labels() %>%
italicize_levels()
# }
Run the code above in your browser using DataLab