fars_map_state: Draws the location of accidents in given state for a given...

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

Draws the location of accidents in given state for a given year

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

An integer that represents the state number

year

An integer or string

Value

plots a map of the state with the accidents as dots on the map. It throws an error if "state.num" is not invalid. If there hasn't been any accident in that year, it produces a message.

Examples

1
2
3
4
5
6
  ## Not run: 
    fars_map_state(48, 2013)
    fars_map_state(48, 2014)
    fars_map_state(6, 2013)
  
## End(Not run)

mdelcorvo/farsr documentation built on Sept. 16, 2017, 12:09 a.m.