fars_map_state: Plots observations of data

Description Usage Arguments Value Examples

View source: R/fars_function.R

Description

User provides a state and the function will create a plot of observations of accidents

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

Integer that represents the state

year

integer

Value

Returns a plot of the state with plot accidents. Returns error if state number is not valid. Returns a message if no data is avaialable for that state.

Examples

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

## End(Not run)

bms63/fars documentation built on Nov. 4, 2019, 7:32 a.m.