Description Usage Arguments Details Value Examples
Plot the location of fatalities on a state map
1 | fars_map_state(state.num, year)
|
state.num |
The state number |
year |
The year to use the FARS data |
The function checks for a valid state.num. Then it filters the accidents for the state. If there aren no accidents, then a message is provided.
a map object
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.