Description Usage Arguments Value Note Examples
View source: R/fars_function.R
This function makes a plot of the fatality traffic for a specified state of the United States, according to the year established by the user.
1 | fars_map_state(state.num, year)
|
state.num |
A numeric value for the state of the United States to analyze. |
year |
A numeric value giving the year to analyze. |
This function returns a geographic plot of the state where there has been at least one fatality traffic accident for a particular year.
There will be errors if any of the arguments are absent or if there are no numeric values for the arguments.
1 | fars_map_state(39, 2014)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.