Description Usage Arguments Value Examples
View source: R/fars_functions.R
Plots accidents locations on a map for a given year and a given state.
1 | fars_map_state(state.num, year)
|
state.num |
A numeric value used to specify a state number. |
year |
A numeric value to specify the year for which the graphic is plotted. An error will be thrown if there are no records for the given state and the specified year. Wrong year or state number specification will produce an error. |
A map plot of accidents location is returned.
1 2 3 4 | ## Not run:
fars_map_state(1,2013)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.