Description Usage Arguments Details Functions Examples
A theme for use with ggplot2 graphics based on theme_tufte().
1 2 3 | theme_cbep(base_size = 16, base_family = FONT_FAMILY_NAME, ...)
set_cbep_default_theme(...)
|
base_size |
Integer. Base font size for graphic text. Defaults to 16 point. Text components in ggplot2 graphics wil lbe scaled relative to (and usually smaller than) this font size. |
base_family |
String. Name of an available font family. Defaults to the preferred CBEP font, currently Montserrat. |
... |
Other theme parameters, passed to theme_tufte(). |
The theme_cbep() graphic theme is a minimalist design based on theme_tufte() from the ggthemes package. The principal change is that theme_cbep() uses the preferred CBEP font, currently Montserrat. By default, it also increases the size of all text slightly.
set_cbep_default_theme
: This function allows one to set the
default theme for all subsequent ggplot2 graphics, rather than specifying
theme_cbep() for each ggplot2 graphic separately.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.