plot_region: Plot SPEW region

Description Usage Arguments Value

View source: R/diags.R

Description

Plot SPEW region

Usage

1
2
3
plot_region(coords_df, get_world_map = FALSE, f = 0.1,
  region_colors = c("#999999", "#E69F00", "#56B4E9", "#009E73", "#F0E442",
  "#0072B2", "#D55E00", "#CC79A7"))

Arguments

coords_df

data frame with "longitude", "latitude", and "region_id" columns

get_world_map

logical. Get an underlying map from ggmap. Default is TRUE

f

border size between 0 and 1. Default is .1.

region_colors

a string of colors to color the map. Default is from the colorblind friendly palette.

Value

a ggmap object


spew documentation built on Nov. 17, 2017, 7:36 a.m.