Description Usage Arguments Value Note Examples
This function gives for a certain year a graphical display of the location of fatal injuries within a particular state based on the data of fatal injuries in motor vehicle traffic crashes in the USA.
1 | fars_map_state(state.num, year)
|
state.num |
An integer or character string denoting the state number |
year |
An integer or character string denoting a year |
This function shows a graphical representation of the state and the locations within a state where fatal injuries occured
This function will give a message "invalid STATE number: <state.num>" when the statenumber cannot be found within the data file based on the input of the year and will stop processing This function will give a message "no accidents to plot" when no fatal injuries took place in a certain state in a certain year
1 2 3 4 5 6 | ## Not run:
fars_map_state(10,2013)
fars_map_state("1",2013)
fars_map_state("1","2013")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.