Description Usage Arguments Examples
View source: R/fars_functions.R
Plot/Map the locations where accidents occurred in the specified year for the specified state. No plot is made if data does not exist for the specified state and year. Error if the state has no data for the specified year.
1 | fars_map_state(state.num, year)
|
state.num |
integer State number as seen in FARS dataset |
year |
a scalar integer value |
1 2 3 4 | ## Not run:
fars_map_state(39, 2014)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.