fars_map_state: Create a FARS map by state and year

Description Usage Arguments Value Examples

Description

This function will create a map of fatal accidents based on the state.num and year arguments. An error will be thrown if an invalid state number is provided. A message will also be printed if there are zero fatalities to map.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

An integer providing the function what state to use.

year

An integer providing the function what year to use in the filename.

Value

This function returns a graphics map object.

Examples

1
## Not run: fars_map_state(1,2015)

ilikefishes/farspackage documentation built on May 13, 2019, 4:04 a.m.