smoov_border: Add border layers to plot

Description Usage Arguments

View source: R/smoov_border.R

Description

Add border layers to plot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
smoov_border(
  geo = NULL,
  line_color = "black",
  line_size = 0.1,
  line_alpha = 1,
  fill_color = NA,
  fill_alpha = 0.5,
  states = NULL,
  counties = NULL,
  tracts = NULL,
  year = 2010,
  detailed = "coarse",
  class = "sf"
)

Arguments

geo

String. May include: "tracts", "counties", or "states"

line_color

String. Color of borders. Default is "black"

line_size

Numeric. Default is 0.1

line_alpha

Numeric in 0,1. Transparency of borders.0 for completely transparent and 1 for completely opaque

fill_color

String. Color of fill within borders. Default is NA (i.e. transparent)

fill_alpha

String. Transparency of fill within borders. Default is 0.5

...

Optional subsetting parameters and shapefile options. See ?smoov


harveybarnhard/smoov documentation built on Nov. 19, 2021, 11:06 a.m.