theme_bickel: Create theme based on my personal color palette and chart...

View source: R/theme_bickel.R

theme_bickelR Documentation

Create theme based on my personal color palette and chart specs

Description

Create theme based on my personal color palette and chart specs

Usage

theme_bickel()

Examples

mtcars2 <- within(mtcars, {
vs <- factor(vs, labels = c("V-shaped", "Straight"))
am <- factor(am, labels = c("Automatic", "Manual"))
cyl  <- factor(cyl)
gear <- factor(gear)
})

p1 <- ggplot(mtcars2) +
  geom_point(aes(x = wt, y = mpg, colour = gear)) +
  labs(title = "Fuel economy declines as weight increases",
  subtitle = "(1973-74)",
  caption = "Data from the 1974 Motor Trend US magazine.",
  tag = "Figure 1",
  x = "Weight (1000 lbs)",
  y = "Fuel economy (mpg)",
  colour = "Gears")

  p1 + theme_bickel()


ehbick01/bickeltheme documentation built on April 25, 2022, 9:22 a.m.