Description Usage Arguments Value Examples
View source: R/fars_functions.R
This function plots the accidents that occured within the selected years in the selected states.
1 | fars_map_state(state.num, year)
|
state.num |
A vector indicating the number of the states to plot. |
year |
A vector indicating the years of the accidents to plot. |
This function returns a dataframe. The first column indicates the month, and each subsequent column shows the number of observations in that month for a specific year.
1 2 3 4 5 | ## Not run:
fars_map_state(1, 2014)
fars_map_state(5:10, 2013:2015)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.