Description Usage Arguments Value Examples
fars_map_state
plots the geographic location of accidents for the
input state and year.
1 | fars_map_state(state.num, year)
|
state.num |
Numeric. The state number. |
year |
Numeric. The relevant year. |
fars_map_state
returns a plot of the map of the given state, as well
as the geographic location of the accidents occurring in that state for the given year.
If the state number does not exist, fars_map_state
will throw an error.
If there are no accidents in the state for the given year, fars_map_state
will
display a message indicating this.
1 2 3 | ## Not run: fars_map_state(23, 2014)
## Not run: fars_map_state(52, 2014)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.