Description Usage Arguments Value Examples
View source: R/fars_function.R
Graphs a distribution of the number of accidents in a designated state and year by dots on the state's map. Throws an error if the given state number is invalid, and does not graph (returns NULL) if there is no accident in the data to plot.
1 | fars_map_state(state.num, year)
|
state.num |
The state number given by FARS guide. |
year |
The year the user desires to aquire |
A map of the state with dots on it representing the number of accidents given the year.
1 | ## Not run: fars_map_state(1,2013)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.