Description Usage Arguments Value Examples
This function will create a map of fatal accidents based on the state.num
and year
arguments. An error will be thrown if an invalid state number
is provided. A message will also be printed if there are zero fatalities to
map.
1 | fars_map_state(state.num, year)
|
state.num |
An integer providing the function what state to use. |
year |
An integer providing the function what year to use in the filename. |
This function returns a graphics map object.
1 | ## Not run: fars_map_state(1,2015)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.