Description Usage Arguments Value Examples
View source: R/fars_functions.R
For a given state and given year, it draws the location of accidents
1 | fars_map_state(state.num, year)
|
state.num |
an integer representing state number for which the location will be drawn |
year |
a vector of years for which FARS data file will be loaded |
if there is no accident a massage is produced. for invalid state number error is thrown. for valid input, plots a map with accident as dots on it.
1 2 3 4 5 | ## Not run:
fars_map_state (3, 2013)
fars_map_state (10, 2015)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.