View source: R/gt_theme_guardian.R
| gt_theme_guardian | R Documentation |
gt tableApply Guardian theme to a gt table
gt_theme_guardian(gt_object, ...)
gt_object |
An existing gt table object of class |
... |
Optional additional arguments to |
An object of class gt_tbl.
1-4
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_nytimes(),
gt_theme_pff()
library(gt)
themed_tab <- head(mtcars) %>%
gt() %>%
gt_theme_guardian()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.