fars_map_state: Map accidents in a state in a year

Description Usage Arguments Examples

Description

This tool creates a plot of the geographical location of accidents over the map of a given state in a given year. An error message is generated if the given state.num does not represent a valid state or if there were no accidents in the given state in the given year or if data is not available for the given year in the first place.S

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

The number code of the state of interest.

year

The year of interest.

Examples

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

## End(Not run)

Moosquibe/BuildingRPackagesFinalProject documentation built on May 27, 2019, 11:43 a.m.