bold_italicize_labels_levels | R Documentation |
Bold or Italicize labels or levels in gtsummary tables
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)
x |
Object created using gtsummary functions |
Functions return the same class of gtsummary object supplied
Example 1
Daniel D. Sjoberg
Other tbl_summary tools:
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()
# Example 1 ----------------------------------
tbl_bold_ital_ex1 <-
trial[c("trt", "age", "grade")] %>%
tbl_summary() %>%
bold_labels() %>%
bold_levels() %>%
italicize_labels() %>%
italicize_levels()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.