Description Usage Arguments Value Note Examples
View source: R/fars_map_state.R
The function plots the data from a selected year and state on a map.
1 | fars_map_state(state.num, year)
|
state.num |
Number of state |
year |
A year of the data to plot |
The function returns a plot with map of a state and the accidents place from the selected year.
The files should be named 'accident_year.csv.bz2' otherwise the function will return an error.
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.