Description Usage Arguments Details Value Examples
This is a function that generates a map (using the maps package) that displays the location of accidents (using the graphics package) for a given state and year.
1  | fars_map_state(state.num, year)
 | 
state.num | 
 integer  | 
year | 
 integer  | 
Will generate error if an invalid state number is input.
This function returns a graphical object.
1 2 3 4 5 6 7 8  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.