Description Usage Arguments Note Examples
Produce a map plot of fatalities for a given state and year
1 | fars_map_state(state.num, year)
|
state.num |
An integer corresponding to the state number of the state for which a map plot should be drawn |
year |
An integer specifying the year for which the map plot should be drawn |
An error is thrown if the state number is invalid
A warning is given if given state did not have any fatalities for that year
Requires the map package and dplyr package
1 2 3 4 | ## Not run:
fars_map_state(44,2015)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.