Description Usage Arguments Value Examples
View source: R/Rox_fars_functions.R
Draws the location of accidents in given state for a given year
1 | fars_map_state(state.num, year)
|
state.num |
An integer that represents the state number |
year |
An integer or string |
plots a map of the state with the accidents as dots on the map.
It throws an error if "state.num"
is not invalid. If there hasn't been
any accident in that year, it produces a message.
1 2 3 4 5 6 | ## Not run:
fars_map_state(48, 2013)
fars_map_state(48, 2014)
fars_map_state(6, 2013)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.