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

Description Usage Arguments Value Examples

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

josealburgos/CourseraPackage documentation built on May 5, 2019, 5:56 p.m.