Description Usage Arguments Value Examples
View source: R/fars_functions.R
The function checks the argument state.num
and returns gracefully if the integer is outside
the range of state codes. NA values are treated for the location of the accident (latitude and longitude)
before generating the plot.
1 | fars_map_state(state.num, year)
|
state.num |
integer ID for state |
year |
an integer value or a value that can be ast to an integer. |
This function returns a map object.
1 2 3 4 5 | ## Not run:
#' fars_map_state(1, 2014)
fars_map_state(40, 2015)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.