Description Usage Arguments Value
View source: R/fars_map_state.R
This function will plot accidents on a map, for a given state and year. Each dot represents a single accident.
It will fail if the user provides an invalid state.num
or year
.
1 | fars_map_state(state.num, year)
|
state.num |
An integer identifying the state. |
year |
The year of interest. |
A plot with the state outline and individual points representing accidents.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.