theme_risk: Minimalist risk table theme for ggplot2

View source: R/themes.R

theme_riskR Documentation

Minimalist risk table theme for ggplot2

Description

A ggplot2 theme which removes most background elements.

Usage

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

Arguments

base_size

Optional. Numeric. Base font size. Defaults to 10.

base_family

Optional. Numeric. Base font family. Defaults to ?.

base_color

Optional. Character. Base color for lines and text. Defaults to black.

base_line_size

Optional. Numeric. Base line element size. Defaults to base_size/22.

base_rect_size

Optional. Numeric. Base rectangle element size. Defaults to base_size/22.

Note

Recommend exporting as PNG or TIFF to preserve background transparency.


utile.visuals documentation built on Nov. 20, 2022, 5:07 p.m.