theme_OPG_basic: theme_OPG_basic

Description Usage Value Examples

View source: R/theme_OPG_basic.R

Description

theme_OPG_basic

Usage

1

Value

a ggplot 2 theme object within OPG branding complicance

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
 library(ggplot2)
 data=head(mtcars, 30)
 g <-ggplot2::ggplot(data, aes(x=wt, y=mpg)) +
 ggplot2::geom_point() + # Show dots
 ggplot2::geom_text(
   label=rownames(data),
   nudge_x = 0.25, nudge_y = 0.25,
   check_overlap = TRUE
  )
  g <- g + OPGgtheme::theme_OPG_basic()

hollie-rawlings/OPGgtheme documentation built on Dec. 20, 2021, 4:47 p.m.