Description Usage Arguments Value Examples
View source: R/fars_functions.R
This function reads every accident file for which the year is provided as input and displays a state map (state provided as input) with the accidents of that years.
1 | fars_map_state(state.num, year)
|
year |
The year for which the accident data is to be displayed. |
state.num |
The state for which the accident data is to be displayed. The value provided must be an integer representing a state as found in the accident data file. |
A plot of the statement with the accidents of that years.
1 2 3 4 | ## Not run:
fars_map_state(13,2014)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.