Description Usage Arguments Value Examples
This function perform the data visualization, for each set of state and years will be displayed the state and points, where points represents the accidents in this state during the given years.
1 | fars_map_state(state.num, year)
|
state.num |
The operator must know the code of the state to generate the desired map. |
year |
Could be a single year or a list of years. |
The return will be a map with point ploted representing accidents. If the state code is not correct an error will be shown saying "invalid STATE number".
1 2 | ## Not run: fars_map_state(state.num = 1, year = 2013)
## Not run: fars_map_state(state.num = 56, year = 2015)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.