fars_map_state: Visualize the accidents in the US map

Description Usage Arguments Value See Also Examples

Description

Plot the accidents on the US map for a given state and year.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

State number

year

Selected year(s)

Value

fars_map_state Output the plot of accidents for the selected state and year. The error occured if the state or year does not exist in the data set.

See Also

make_filename fars_read

Examples

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

## End(Not run)

nanhung/fars documentation built on May 30, 2019, 4:04 p.m.