fars_map_state: Plots accidents locations on a map for a given year and a...

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

Plots accidents locations on a map for a given year and a given state.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

A numeric value used to specify a state number.

year

A numeric value to specify the year for which the graphic is plotted. An error will be thrown if there are no records for the given state and the specified year. Wrong year or state number specification will produce an error.

Value

A map plot of accidents location is returned.

Examples

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

km20/farsP documentation built on May 22, 2019, 4:41 p.m.