Description Usage Arguments Details Value
plot accidents by lattitude and longitude for state and year inputed by users.
1 | fars_map_state(state.num, year)
|
state.num |
the numbers stand for state |
year |
a numeric value |
the input state.num should be in the STATE column of data, otherwise error message "invalid STATE number" will be given; If there is no accident for the input state.number and year, a message will state "no accidents to plot".
A map plot for input state and year will be produced.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.