theme_urbn_map: A ggplot2 theme formatted in the Urban Institute style

Description Usage Arguments

View source: R/theme_urbn_map.R

Description

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

Usage

1
2
3
4
5
6
7
theme_urbn_map(
  scale = "continuous",
  base_size = 8.5,
  base_family = "Lato",
  base_line_size = 0.5,
  base_rect_size = 0.5
)

Arguments

scale

"continuous" creates a vertical legend to the right of the map. "discrete" creates a horizontal legend above the map.

base_family, base_size

base font family and size

base_line_size, base_rect_size

base line and rectangle sizes


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