set_sdcoe_defaults provides a ggplot2 theme formatted according to the SDCOE style guide, with sensible defaults.

set_sdcoe_defaults(
  style = "print",
  base_size = 8.5,
  base_family = "Roboto",
  base_line_size = 0.5,
  base_rect_size = 0.5,
  scale = "continuous"
)

Arguments

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 theme_scdoe_map(). Should the legend theme be continuous or discrete?