Description Usage Arguments Value Examples
View source: R/fars_function.R
This function takes one or more year and a US state.num as input and plots the Fars data for the given years on the states map. If a year or the state number does not exist in the data the function will return an error.
1 | fars_map_state(state.num, year)
|
state.num |
A number representing a US state. |
year |
The year the data was obtained. |
Returns a map with the Fars data of the given year plotted to a given US states map.
1 2 3 4 | ## Not run:
fars_map_state(45,2013)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.