fars_map_state: Creates a map of the accidents in a year in a US State The...

Description Usage Arguments Value Examples

Description

Creates a map of the accidents in a year in a US State The latitude and longitude are extracted from the file for this.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

number of the US State (numeric/integer)

year

year of the accidents in the analysis (numeric/integer)

Value

generates a plot of the accidents in the specified year and US State. Errors are returned if the year is invalid (no file) or state number is invalid (or not present in the data)

Examples

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

## End(Not run)

DarkerThanEver/fars documentation built on May 17, 2019, 11:14 p.m.