R/countryscales-global.R

# Adapted from gggplot2
#
# Environment that holds various global settings for countryscales.
countryscales_global <- new.env(parent = emptyenv())

# x aesthetics
countryscales_global$x_aes <- c(
  "x", "xmin", "xmax", "xend", "xintercept",
  "xmin_final", "xmax_final", "xlower", "xmiddle", "xupper", "x0"
)

countryscales_global$y_aes <- c(
  "y", "ymin", "ymax", "yend", "yintercept",
  "ymin_final", "ymax_final", "lower", "middle", "upper", "y0"
)

Try the countryscales package in your browser

Any scripts or data that you put into this service are public.

countryscales documentation built on Sept. 29, 2026, 5:09 p.m.