fars_map_state: fars_map_state represents geographically the values in a...

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

fars_map_state represents geographically the values in a given year and a given state number which have a longitude > 900 and a latitude > 90. It will thrown an error if the year or the state are not valid, or if there are no accidents to show.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

the number of the selected state

year

the selected year

Value

The function returns a graphic showing the geographical representation of the data for a given year and a given state.

Note

The original function has been adapted to Non-standard evaluation. For example, the filter function below has been modified to filter_

Examples

1
## Not run: fars_map_state(1, 2013)

raponxi/FARSinR2 documentation built on May 26, 2019, 11:08 p.m.