fars_map_state: Plots map of number of fatalities

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

From given statenumber and year, a map is plotted with the number of fatalities. Longitude must be more than 900 and latitude more than 90. When there are no fatalities, nothing is returned.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

a state number, when invalid an error is shown

year

a number or character string containing numbers

Value

a tmap containing the number of casualties with months as rows and years as columns

Examples

1
2
3
4
## Not run: 
fars_map_state(1,2013)

## End(Not run)

MMJansen/MyWeek4Package documentation built on May 3, 2019, 4:30 p.m.