Description Usage Arguments Value Note Examples
Reads data from FARS file for specific year & plot it's accidents in specific state on map
1 | fars_map_state(state.num, year)
|
state.num |
An integer value representing state number to plot |
year |
An integer value representing year to plot |
NULL It will plot a graphical view of accidents happening in the provided state.
This function requires a valid integer value for year, otherwise it will result in error. It also requires a valid integer for representing state number which should be present in data.
1 2 3 4 | ## Not run:
fars_map_state(state.num = 4, year=2013)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.