Skip to contents

Produces a light-weight theme used by the DKGE plotting helpers. Adjust `base_size` / `base_family` to customise font size or typeface.

Usage

theme_dkge(base_size = 12, base_family = "")

Arguments

base_size

Base font size.

base_family

Base font family.

Value

A ggplot2 theme object.

Examples

if (requireNamespace("ggplot2", quietly = TRUE)) {
  ggplot2::ggplot(mtcars, ggplot2::aes(mpg, wt)) +
    ggplot2::geom_point() +
    theme_dkge()
}