The ectrlplot
package provides helpful functions for creating and
exporting graphics made in ggplot2 in the style used by the PRU team.
It is inspired by BBC bbplot package.
You can install the development version of ectrlplot
from
GitHub with:
# install.packages('devtools')
devtools::install_github("euctrl-pru/ectrlplot")
or the CRAN version (when this package will land to CRAN):
install.packages("ectrlplot")
ectrlplot
can be used to (example numbers refer to the ones in the
vignette):
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.