Description Usage Arguments Value Note Examples
This function genreates a plot showing the location of each incident in the defined year and state
1 | fars_map_state(state.num, year)
|
state.num |
Serial number of state - integer |
year |
year to plot - integer |
plot with state map outlined and incident location shown as points on the map
ERROR if following conditions not met: Files must be in working directory and filenames must be of format "accident_<year>.csv.bz2"
1 2 3 4 | ## Not run:
fars_map_state(1, 2013)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.