Description Usage Arguments Value Examples
Creates a map of the accidents in a year in a US State The latitude and longitude are extracted from the file for this.
1 | fars_map_state(state.num, year)
|
state.num |
number of the US State (numeric/integer) |
year |
year of the accidents in the analysis (numeric/integer) |
generates a plot of the accidents in the specified year and US State. Errors are returned if the year is invalid (no file) or state number is invalid (or not present in the data)
1 2 3 4 | ## Not run:
fars_map_state(5,2013)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.