Set ggplot default theme and palette

set_color_theme(base_size = 12)

Arguments

base_size

base font size, given in pts.

Value

set theme and color to all ggplot figures

Examples

if (FALSE) {
library(ggplot2)
set_color_theme()
ggplot(data = mtcars, aes(x = cyl)) +
  geom_bar(aes(y = ..count..,fill = as.character(cyl)))
  }