Description Usage Arguments Value Note Examples
View source: R/fars_map_state.R
Draws a map of accidents for a given state and year.
1 | fars_map_state(state.num, year)
|
state.num |
A numeric or character vector containing state number/s to plot |
year |
A numeric containing which year to plot |
Returns a plot
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.
1 | fars_map_state(1, 2013)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.