Description Usage Arguments Value Examples
This is a function that draws the locations of the accidents in the specified state in the specified year.
1 | fars_map_state(state.num, year)
|
state.num |
A numeric variable specifies the state of interest by number. |
year |
a numeric variable specifies the year of interest. |
This function prints state map of the accidents in a year. If the state doesn't exist then prints an error message. If there were no accidents in the state and year specified, then prints "no accidents to plot".
1 | fars_map_state(49, 2013)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.