fars_map_state: Display accidents map by state and year

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

Displays accidents (using latitude and longitude coordinates provided in dataset) at states map plot

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

An Integer with the State Code in case of incorrect state number provided function will rise the error

year

A string, or an integer, with the year input

Value

map plot

Examples

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

## End(Not run)

MaxDQlikDev/my.far.pkg documentation built on Feb. 13, 2021, 12:49 a.m.