Description Usage Arguments Details Examples
Plots the aciddent locations for a selected state and year
1 | fars_map_state(state.num, year)
|
state.num |
The number of state to plot |
year |
The year to plot |
In case an invalid state is selected, the function throws and error. In case there are no accidents to plot, it shows a warning and no plot is created.
1 2 3 4 | ## Not run:
fars_map_state(1, 2014)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.