adjust_states: Adjust States

Description Usage Arguments

View source: R/mapping.R

Description

Extracts the polygons in the supplied shape file that correspond to the state specified, and adjusts them to appear to the lower-left of the continental U.S.

Usage

1
adjust_states(shapes, state, geo, year, resolution)

Arguments

shapes

A 'SpatialPolygonsDataFrame'

state

Character scalar equal to either 'alaska' or 'hawaii'

geo

Character vector giving the geography of the shapefile (e.g., 'state', 'cbsa')

resolution

Character scalar given the resolution of the shape file


kbrevoort/cbsa documentation built on June 12, 2020, 8:44 a.m.