fars_map_state: Plot all accident locations for a given year on a US federal...

Description Usage Arguments Details Examples

Description

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.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

Number representing a US federal state.

year

Input vector specifying a single year for which the accidents should be plotted.

Details

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.

Examples

1
2
3
4
## Not run: 
fars_map_state(13, 2014)

## End(Not run)

alex23lemm/farsR documentation built on May 13, 2019, 1:36 a.m.