Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bold_italicize_labels_levels

Bold or Italicize labels or levels in gtsummary tables


Description

Bold or Italicize labels or levels in gtsummary tables

Usage

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(s)

Daniel D. Sjoberg

See Also

Examples

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

gtsummary

Presentation-Ready Data Summary and Analytic Result Tables

v1.4.0
MIT + file LICENSE
Authors
Daniel D. Sjoberg [aut, cre] (<https://orcid.org/0000-0003-0862-2018>), Michael Curry [aut] (<https://orcid.org/0000-0002-0261-4044>), Margie Hannum [aut] (<https://orcid.org/0000-0002-2953-0449>), Joseph Larmarange [aut] (<https://orcid.org/0000-0001-7097-700X>), Karissa Whiting [aut] (<https://orcid.org/0000-0002-4683-1868>), Emily C. Zabor [aut] (<https://orcid.org/0000-0002-1402-4498>), Esther Drill [ctb] (<https://orcid.org/0000-0002-3315-4538>), Jessica Flynn [ctb] (<https://orcid.org/0000-0001-8310-6684>), Jessica Lavery [ctb] (<https://orcid.org/0000-0002-2746-5647>), Stephanie Lobaugh [ctb], Gustavo Zapata Wainberg [ctb] (<https://orcid.org/0000-0002-2524-3637>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.