Description Usage Arguments Value
View source: R/fars_functions.R
Create a map of fars events for given state and year.
1 | fars_map_state(state.num, year)
|
state.num |
An integer giving the number of the state the function will display. |
year |
An integer giving the year of which the function will display the map of accidents. |
This function returns a graphical object. In case of an invalid state number an error message is displayed. A warning tells you if there are no accidents to plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.