theme_dirk: Dirk theme ggplots

View source: R/utils.R

theme_dirkR Documentation

Dirk theme ggplots

Description

This function generates ggplot object with theme elements that Dirk appreciates on his ggplots

Usage

theme_dirk(
  base_size = 22,
  base_family = "",
  base_line_size = base_size/22,
  base_rect_size = base_size/22,
  time_stamp = FALSE
)

Arguments

base_size

base font size, given in pts.

base_family

base font family

base_line_size

base size for line elements

base_rect_size

base size for rect elements

time_stamp

Logical value to indicate if the current time should be added as a caption to the plot. Helpful for versioning of plots.

Value

list that can be added to a ggplot object


scpoisson documentation built on Aug. 17, 2022, 9:05 a.m.