fars_map_state: Creates a visual Map of Accidents

Description Usage Arguments Value Examples

View source: R/fars_functions.r

Description

Creates a visual Map of Accident data for specified year year occuring in a specified state state.num.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

A number corresponding to a US state based on FARS data.

year

A year for which to summarize data.

Value

Returns a map plot of the US with accidents for a specified state and year. Returns an error if the state or year provided are invalid.

Examples

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

## End(Not run)

tchoffman/bldgRpkg documentation built on June 26, 2017, 7:35 p.m.