Description Usage Arguments Value Examples
View source: R/fars_functions.R
fars_map_state : This function takes a state number and year as a parameters and generates a map of the state showing the location of the accidents for that year. An invalid STATE number generates an error.
1 | fars_map_state(state.num, year)
|
state.num |
an integer representing the number of the state as determined by the state numbers in the data. A state number for which there is no data generates an error. |
year |
an integer representing the year associated with the data |
a data frame of with the month and year of each accident summarised by year and month.
1 2 3 4 5 | ## Not run:
fars_map_state()
fars_map_state(10,2014)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.