Description Usage Arguments Value Examples
This function takes input of a state number and a year, and
plot the incidents of the given year in the map of the given state.
Conditions that may result an error:
state.num
is not a valid number of states;
year
is not a valid number of year;
Data of requested year does not exist;
1 | fars_map_state(state.num, year)
|
state.num |
An integer for the code number of a state |
year |
An integer or element coercible to integer representing a year. |
This function draws a map of the requested state, and plot on it the incidents occured in that state in the requested year. Each point represents an incident
1 | ## Not run: fars_map_state(1, 2014)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.