Skip to contents

Standard Plotting Theme of dMod2

Usage

theme_dMod2(base_size = 12, base_family = "", showGrid = FALSE)

Arguments

base_size

Numeric, base font size. Defaults to 12.

base_family

Character, font family. Defaults to "".

showGrid

Logical, keep the panel grid. FALSE (default) drops it; TRUE keeps the grid of ggplot2::theme_bw().

Value

A ggplot2 theme.

Examples

library(ggplot2)
ggplot(data.frame(x = 1:10, y = (1:10)^2), aes(x, y)) +
  geom_line() + theme_dMod2()