fars_map_state: State Accident Mapping

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This function takes years and a state number and plots the accident locations within that state.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

A state number from the alphabetical list of states.

year

The year from which you want to draw data.

Value

This function, even when successfully run, returns NULL invisibly. However, it generates a plot in the course of running.

Examples

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

## End(Not run)

kevin444/RpackageCoursera documentation built on June 29, 2020, 12:54 a.m.