fars_map_state: Map the locations of accidents from FARS data

Description Usage Arguments Details Value Examples

Description

This function maps the locations of accidents using latitude and longitude information from the FARS data files.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

A numeric indicating a state number.

year

A year to plot; it should be a numeric.

Details

map is utilized to draw a state map.

Value

This function makes a plot that represents locations of accidents. If there are no matches of state.num in a data set, it results in an error.

Examples

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

JayLKim/farsCoursera documentation built on May 7, 2019, 10:33 a.m.