fars_map_state: Draw map of NHTSA FARS accidents

Description Usage Arguments Details Value Examples

View source: R/fars_functions.R

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 12, 2018, 12:50 a.m.