theme_risk: Minimalist risk table theme for ggplot2

View source: R/themes.R

theme_riskR Documentation

Minimalist risk table theme for ggplot2

Description

A minimalist ggplot2 theme which removes most background elements and lines.

Usage

theme_risk(
  base_size = 12,
  base_family = NULL,
  base_color = "black",
  base_line_size = base_size/12,
  base_rect_size = base_size/12
)

Arguments

base_size

A numeric. Base font size.

base_family

A numeric. Base font family.

base_color

A character. Base color for lines and text.

base_line_size

A numeric. Base line element size.

base_rect_size

A numeric. Base rectangle element size.

Note

Recommend exporting as PNG or TIFF to preserve background transparency.

See Also

ggrisktable


utile.visuals documentation built on Jan. 24, 2023, 1:09 a.m.