Description Usage Arguments Details Value Examples
View source: R/fars_function.R
This function maps the locations of accidents using latitude and longitude information from the FARS data files.
1 | fars_map_state(state.num, year)
|
state.num |
A numeric indicating a state number. |
year |
A year to plot; it should be a numeric. |
map
is utilized to draw a state map.
This function makes a plot that represents locations of accidents.
If there are no matches of state.num
in a data set, it results in an error.
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.