fars_map_state: Map of Accidents

Description Usage Arguments Value

View source: R/fars_functions.R

Description

Create a map of fars events for given state and year.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

An integer giving the number of the state the function will display.

year

An integer giving the year of which the function will display the map of accidents.

Value

This function returns a graphical object. In case of an invalid state number an error message is displayed. A warning tells you if there are no accidents to plot.


vkati06/FARS documentation built on May 29, 2019, 9:57 a.m.