Description Usage Arguments Value Note Examples
This function receives a specific state and year, retrieving the associated data. If the state exists, it filters the data per state and creates the related graph. The function needs the library maps.
1 | fars_map_state(state.num, year)
|
state.num |
A number indicating the state |
year |
A number indicating the year |
This function creates a graph of a specific state and year
The function returns an error if the state number is invalid (not present)
1 2 3 4 | ## Not run:
fars_map_state(state.num=1,year=2014)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.