fars_map_state: Draws a map of accidents for a given state and year.

Description Usage Arguments Value Note Examples

View source: R/fars_map_state.R

Description

Draws a map of accidents for a given state and year.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

A numeric or character vector containing state number/s to plot

year

A numeric containing which year to plot

Value

Returns a plot

Note

Produces an error if multiple years are given. Produces an error if the state number does not exist but only a warning is given if multiple state numbers are given.

Examples

1
fars_map_state(1, 2013)

ekawabata/MyPackage18 documentation built on May 18, 2020, 12:03 a.m.