fars_map_state: Draw map of NHTSA FARS accidents

Description Usage Arguments Details Value Examples

Description

Reads Fatality Analysis Reporting System (FARS) data files and plots maps of accidents for the specified state and year with the graphics package.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

USA state number, numeric.

year

Year of ovservations, numeric.

Details

Will stop with error if given state number is invalid. Will warn if no data are available for a given year.

Value

No return value (NULL).

Examples

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

## End(Not run)

avidclam/building.an.r.package documentation built on May 20, 2019, 9:14 p.m.