View source: R/set_urbn_defaults.R
set_urbn_defaults
provides a ggplot2 theme formatted according to the
Urban Institute style guide, with sensible defaults.
1 2 3 4 5 6 7 8 | set_urbn_defaults(
style = "print",
base_size = 8.5,
base_family = "Lato",
base_line_size = 0.5,
base_rect_size = 0.5,
scale = "continuous"
)
|
style |
The default theme style for the R session. "print" or "map". |
base_size |
The base font size for the theme. All fonts are relative to this value. |
base_family |
The base font family for the theme. |
base_line_size |
The base line size for the theme. All line sizes are relative to this value. |
base_rect_size |
The base rect size for the theme. All rect sizes are relative to this value. |
scale |
For |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.