Description Usage Arguments Value Examples
fars_map_state
function first reads the given state.num
variable,
The map of the accident data for states where a LONGITUDE
of greater
than 900 and LATITUDE
of greater than 90 but not for less than.
1 | fars_map_state(state.num, year)
|
state.num |
Numeric vector representing the value of STATE variable in the data. |
year |
An iteger of years fro 2013 to 2015 or corceabile to itegers. |
Returns a plot of map of points of accidents for the given state
number in the year. If the stat number is not in the STAT variable, it
returns NULL
.Similarly, if the given stat number has no accident,
LONGITUDE
>900 and LATITUDE
>90.
1 | fars_map_state(20, 2013)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.