fars_map_state() consumes the informaton stored in a single FARS report
and creates a plot showing the location of all accidents for a specified US
federal state and year.
Number representing a US federal state.
Input vector specifying a single year for which the accidents should be plotted.
This function has no return value. It is only used for its plotting side effects.
A message will be printed to the console if no accidents were reported for a given
and valid state-year combination.
fars_map_state() expects to find
the report file in the current working directory.
1 2 3 4
## Not run: fars_map_state(13, 2014) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.