Description Usage Arguments Value Examples
View source: R/fars_functions.r
Creates a visual Map of Accident data for specified year year
occuring in a specified state state.num
.
1 | fars_map_state(state.num, year)
|
state.num |
A number corresponding to a US state based on FARS data. |
year |
A year for which to summarize data. |
Returns a map plot of the US with accidents for a specified state and year. Returns an error if the state or year provided are invalid.
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.