Learn R Programming

oaPlots (version 0.0.25)

oaTheme: Apply OA ggplot2 theme

Description

Apply OA ggplot2 theme

Usage

oaTheme(p, useOAColors = TRUE, expand = "both", bgColor = gray(0.9))

Arguments

p
ggplot2 plot object
useOAColors
boolean which indicates wether or not to use the oaColors package to provide a color scheme. Default: TRUE
expand
specify wether or not to expand the axis valid options are: (both, x, y, none) Default: both
bgColor
specify a different background color (useful for plotting colors with alpha values) Default: gray(0.9)

Value

ggplot2 plot object