CPP ggplot2 themes. Run by default at startup of ggcognigen

theme_cognigen(smaller = FALSE, ...)

theme_cognigen_grid(
  major.x = TRUE,
  major.y = TRUE,
  minor.x = FALSE,
  minor.y = FALSE,
  smaller = FALSE,
  ...
)

Arguments

smaller

logical indicating whether to use smaller font size

...

additional theme elements to override defaults. See theme.

major.x, major.y, minor.x, minor.y

logical indicating whether to draw major/minor grid lines on the respective axis

Examples

library(ggplot2)

p <- ggplot(mpg, aes(class, hwy)) +
  geom_point()

p + theme_cognigen()


p + theme_cognigen_grid()