theme_aidark: dark ggplot2 theme for the AIDA course

View source: R/theme_aidark.R

theme_aidarkR Documentation

dark ggplot2 theme for the AIDA course

Description

Because, according to Financial Times Datavizard John Burn-Murdoch, "they look cool".

Usage

theme_aidark(
  title.size = 16,
  text.size = 14,
  legend.position = "top",
  show.axis = FALSE,
  show.grid = TRUE,
  plot.margin = c(0.2, 0.1, 0.2, 0.1)
)

Arguments

title.size

title element size in pts

text.size

text element size in pts

legend.position

either one of "none", "left", "right", "bottom", "top"

show.axis

boolean or "x", "y"; should axis be drawn? Which?

show.grid

boolean; should grid lines be drawn?

plot.margin

margin around entire plot (unit with the sizes of the top, right, bottom, and left margins)

References

https://twitter.com/jburnmurdoch/status/1231235675229491200


michael-franke/aida-package documentation built on Feb. 19, 2023, 11:51 p.m.