fars_map_state: Create Graph of Accidents by State

Description Usage Arguments Value

Description

This function returns a plot of all accidents in a state for the year provided. An error will occur if invalid state.num provided. If no accidents exist for state.num and year provided, a message will be reutrned stating this.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

id of state of interest

year

Year to plot accidents for.

Value

Returns a state map for the state.num provided for the year provided, with a point in the geographic location of each accident that occured.


ctaber/buildingRpackages documentation built on June 22, 2019, 3:59 a.m.