theme_mdsr: MDSR themes

View source: R/themes.R

theme_mdsrR Documentation

MDSR themes

Description

Graphical themes used in MDSR book

Usage

theme_mdsr(base_size = 12, base_family = "Bookman")

Arguments

base_size

base font size, given in pts.

base_family

base font family

Examples

if (require(ggplot2)) {
  p <- ggplot(mtcars, aes(x = hp, y = mpg, color = factor(cyl))) + 
    geom_point() + facet_wrap(~ am) + geom_smooth()
  p + theme_grey()
  p + theme_mdsr()
 }

beanumber/mdsr documentation built on Aug. 20, 2024, 12:45 p.m.