Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 962 Bytes

README.md

File metadata and controls

24 lines (13 loc) · 962 Bytes

bcggtheme

A ggplot2 theme to create graphs in the style of BCG

To install the package (assuming you don't alreayd have devtools) go:

install.packages("devtools")

devtools::install_github("Tony-Chen-Melbourne/bcggtheme")

One final step before use is to load Windows system fonts into R, in order to access the standard MS Trebuchet font. First install the extrafonts library package:

install.packages("extrafont")

The run the code:

extrafont::font_import()

This will take a few minutes to do its thing, after which you're good to go.

Currently the package only works on Windows computers. That isn't a major problem given that BCG uses windows computers, but is something which I'd like to fix in future versions of this package.

The vignettes file explains how the package works.

The package draws heavily on grattantheme created by Matt Cowgill, and maintained by Matt Cowgill and Will Mackey.