fars_map_state: this function creates a map by State of the cases in that...

Description Usage Arguments Value Examples

View source: R/FARSfunctions.R

Description

this function creates a map by State of the cases in that State. It takes into account the longitud and latitud of the case. The function produces an error when the state is invalid

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

a number representing the state to be graphed

year

the year to be graphed

Value

returns a map showing the accidents in the state

Examples

1
## Not run: fars_map_state(1, 2013)  will produce a map of accidents for state 1 in 2013

tuliobaars/FARSpackage documentation built on May 29, 2019, 2:52 p.m.