Learn R Programming

simplevis (version 6.0.0)

gg_theme_map: Create a simple theme for a map.

Description

Create a simple theme for a map.

Usage

gg_theme_map(
  family = "",
  size_title = 11,
  size_subtitle = 10,
  size_body = 10,
  face_title = "bold",
  face_subtitle = "plain",
  face_body = "plain",
  pal_title = "#000000",
  pal_subtitle = "#000000",
  pal_body = "#323232"
)

Arguments

family

The font for all text to use. Defaults to "".

size_title

The size of the title font. Defaults to 11.

size_subtitle

The size of the subtitle font. Defaults to 10.

size_body

The size of all font other than the title or subtitle. Defaults to 10.

face_title

The face of the title font. Defaults to "bold".

face_subtitle

The face of the subtitle font. Defaults to "plain".

face_body

The face of all font other than the title or subtitle. Defaults to "plain".

pal_title

The colour palette for the title font. Defaults to "#000000".

pal_subtitle

The colour palette for the subtitle font. Defaults to "#000000".

pal_body

The colour palette for all font other than the title or subtitle. Defaults to "#323232".

Value

A ggplot theme.