gt_theme_nytimes: Apply NY Times theme to a 'gt' table

View source: R/gt_theme_nytimes.R

gt_theme_nytimesR Documentation

Apply NY Times theme to a gt table

Description

Apply NY Times theme to a gt table

Usage

gt_theme_nytimes(gt_object, ...)

Arguments

gt_object

An existing gt table object of class gt_tbl

...

Optional additional arguments to gt::table_options()

Value

An object of class gt_tbl.

Figures

gt_nyt.png

Function ID

1-3

See Also

Other Themes: gt_plt_bullet(), gt_plt_conf_int(), gt_plt_dot(), gt_theme_538(), gt_theme_dark(), gt_theme_dot_matrix(), gt_theme_espn(), gt_theme_excel(), gt_theme_guardian(), gt_theme_pff()

Examples


library(gt)
nyt_tab <- head(mtcars) %>%
  gt() %>%
  gt_theme_nytimes() %>%
  tab_header(title = "Table styled like the NY Times")


gtExtras documentation built on Sept. 16, 2023, 1:08 a.m.