fars_map_state: fars_map_state function

Description Usage Arguments Value Examples

Description

This function takes a year and state numbers and create a graph with the Highway Traffic Fatality located by longitud and latitude. The function will provide the warnings and messages included in the fars_read and make_file.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

= an integer, indicator of the states to be evaluated, example :c(11,24,36)

year

= an integer, the value of the year to be evaluated, example :c(2013,2014,2015)

Value

This function returns a graph based on the Highway Traffic Fatality data, based in the years and states selected, the Latitude and Longitud included in the data.

Examples

1
2
3
4
5
6
## Not run: 

fars_map_state(c(20,33,48), c(2013,2014,2015))


## End(Not run)

aalvaradob/Prueba1 documentation built on May 9, 2019, 12:52 p.m.