Description Usage Arguments Details Value Examples
theme_gov Provides a theme for ggplot2 to produce
government style visualisations in ggplot2.  Incorporated into blockbuster package from
https://github.com/ukgovdatascience/govstyle.
1  | theme_gov(base_size = 12, base_colour = "gray40", axes = "x")
 | 
base_size | 
 Integer. Sets the base size of text for the plot.
Defaults to   | 
base_colour | 
 Character string. Sets the default colour of axes
and axis labels. Must be a named R colour or hexadecimal colour code
(e.g. "#FF0000"). Defaults to   | 
axes | 
 Character string. Specifies the presence or absence of axes
Must be one of   | 
Builds on the 'grammar of graphics' framework implement in
ggplot2. Applying theme_gov() will adjust graphical parameters
to give a plot a feel more in line with gov.uk.
Will not return anything of itself, but when used in conjuntion
with ggplot2 and (e.g.) geom_point from the
package ggplot2, will apply styling to a plot.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.