fars_map_state: This function perform the data visualization, for each set of...

Description Usage Arguments Value Examples

View source: R/fars.R

Description

This function perform the data visualization, for each set of state and years will be displayed the state and points, where points represents the accidents in this state during the given years.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

The operator must know the code of the state to generate the desired map.

year

Could be a single year or a list of years.

Value

The return will be a map with point ploted representing accidents. If the state code is not correct an error will be shown saying "invalid STATE number".

Examples

1
2
## Not run: fars_map_state(state.num = 1, year = 2013)
## Not run: fars_map_state(state.num = 56, year = 2015)

Vaibhav291086/Vaibhav291086-Building_R_Packages documentation built on Dec. 18, 2021, 6:14 p.m.