Description Usage Arguments Value Note Examples
View source: R/fars_functions.R
This function plots fatality case (accident) points for the state
(using state.num
) and the year (using year
).
1 | fars_map_state(state.num, year)
|
state.num |
A numeric number identifying the state |
year |
A numeric number repsresenting the year (e.g. 2013) |
A map of the state and plots of fatality case points
An error occurs if the state number is invalid. Nothing is plotted if no fatality cases exist.
1 2 3 4 | ## Not run:
fars_map_state(1, 2013)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.