Description Usage Arguments Value
View source: R/fars_functions.R
The function filters for state.num and year given in the input. if the number of accident is zero for given year and state it returns "no accident to plot". The function plot the map with accident as point on it.
1 | fars_map_state(state.num, year)
|
state.num |
a list of integers or character string of numbers for desired states. |
year |
a list of integer or character string of numbers for desired years to be read from the disk. |
a map of accidents.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.