Description Usage Arguments Details Examples
This function a graphic showing in a map where the accident occured given a state number and a year
1 | fars_map_state(state.num, year)
|
state.num |
A integer |
year |
A integer |
If the state number is wrong (>56) an error message is printed. If the state considered contains no accident, a message is printed saying there is no accident to plot
1 2 | library(maps)
MyMap<- fars_map_state(1,2013)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.