our_theme: Accessing our custom ggplot2 theme

Description Usage Arguments Examples

Description

Accessing our custom ggplot2 theme

Usage

1
our_theme(base_size = 11, base_family = "sans", horizontal = T)

Arguments

base_size

passed to base theme (e.g. theme_minimal())

base_family

passed to base theme

horizontal

boolean, if true then we leave only vertical grid lines, or vice versa

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
  library(ggplot2)
  
  ggplot(mtcars) +
  geom_point(aes(x = mpg,
                 y = wt)) +
  facet_grid(vs~cyl) +
  labs(title = 'This is the Title',
       subtitle = 'This is the Subtitle',
       caption = 'This is the caption') +
  our_theme()

PeterGrahamJersey/mybizR-style documentation built on July 7, 2019, 2:19 p.m.