Shorthand to generate branded ggplots. Uses theme_brand() to control colors and fonts, and has Y-axis on the right. Axis placement can be quickly modified with argument axes.
Arguments
- data
Default dataset to use for plot. If not already a data.frame, will be converted to one by
fortify(). If not specified, must be supplied in each layer added to the plot.- mapping
Default list of aesthetic mappings to use for plot. If not specified, must be supplied in each layer added to the plot.
- axes
position of X (
bottomortop) and Y (leftorright) primary axes (default:bottomright)- ...
Arguments passed on to
theme_brandbase_colorBootstrap color name for text and line elements, or color code
base_bgBootstrap color name for plot, panel background, or color code
base_familyone of
_brand.ymlfont families (currently onlybase,monospace, orheadings), else a valid system or Google font family namegridshow gridlines
XY,X,Y(default) ornfor no gridlinelegendshorthand for
theme(legend.position="...")(default:top)base_sizebase font size, given in pts.
