set_urbn_defaults: The Urban Institute ggplot2 theme

Description Usage Arguments

View source: R/set_urbn_defaults.R

Description

set_urbn_defaults provides a ggplot2 theme formatted according to the Urban Institute style guide, with sensible defaults.

Usage

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"
)

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


UrbanInstitute/urbnthemes documentation built on Jan. 26, 2022, 8:34 p.m.