theme_aida: ggplot2 theme for the AIDA course

View source: R/theme_aida.R

theme_aidaR Documentation

ggplot2 theme for the AIDA course

Description

ggplot2 theme for the AIDA course

Usage

theme_aida(
  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)


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