fars_map_state: Map FARS accidents in a state

Description Usage Arguments Value Examples

Description

Plot the state's map with dots locating the year's accidents.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

Code for the wanted state

year

Wanted year in the format yyyy (four digits)

Value

A plot of the state with dots locating each accident.

Errors are issued for invalid state numbers. A message is issued when there are no accidents to plot.

Examples

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

## End(Not run)

danielmoralesx/dmorales.fars documentation built on May 10, 2019, 1:09 a.m.