gt_theme_dot_matrix: Apply dot matrix theme to a gt table

View source: R/gt_theme_dot_matrix.R

gt_theme_dot_matrixR Documentation

Apply dot matrix theme to a gt table

Description

Apply dot matrix theme to a gt table

Usage

gt_theme_dot_matrix(gt_object, ..., color = "#b5dbb6")

Arguments

gt_object

An existing gt table object of class gt_tbl

...

Additional arguments passed to gt::tab_options()

color

A string indicating the color of the row striping, defaults to a light green. Accepts either named colors or hex colors.

Value

An object of class gt_tbl.

Examples

library(gt)
themed_tab <- head(mtcars) %>%
  gt() %>%
  gt_theme_dot_matrix() %>%
  tab_header(title = "Styled like dot matrix printer paper")

Figures

gt_dot_matrix.png

See Also

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


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