Description Usage Arguments Value Examples
View source: R/fars_functions.R
This function plots the number of accidents for a specified state.
This function returns an error if either the state.num
or
year
do not exist in the dataset
1 | fars_map_state(state.num, year)
|
state.num |
A number representing a state in the FARS data |
year |
A number representing the year for analysis |
This function returns a plot of the number of accidents for the specified state.
1 2 3 4 | ## Not run:
fars_map_state('01',2014)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.