ggcounty: Returns a ggplot2 object with a geom_map of the requested...

Description Usage Arguments Value Examples

View source: R/ggcounty.R

Description

Returns a ggplot2 object with a geom_map of the requested county

Usage

1
2
ggcounty(state = "Maine", fips = FALSE, fill = "white",
  color = "#7f7f7f", size = 0.25, alpha = 1)

Arguments

state

name string (e.g. + default = "Maine")

fill

color string (e.g. + default = "white")

border

color string (e.g. + default = "#7f7f7f")

border

line width (e.g. + default = 0.25)

fill

alpha (e.g. + default = 1)

Value

list consisting of the fortified map object (map), list of county names (county.names) & the ggplot2 object (gg)

Examples

1
g <- ggcounty("New York")

hrbrmstr/ggcounty documentation built on May 17, 2019, 5:08 p.m.