fars_map_state: Plot a map which shows the event of a year in a state.

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This is a function that plot a map which shows the event of a year in a state.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

A number index a state(see examples, other values would result in error).

year

A number of the year (one of 2013-2015) you want to load.

Value

This function returns a plot

Examples

1
2
3
4
5
## Not run: filename=make_filename(2013)
## Not run: print(filename)
## Not run: df=fars_read(filename)
## Not run: unique(df$STATE) #choose one of those numbers
## Not run: fars_map_state(10,2013)

Guan-Pujun/fars documentation built on Aug. 10, 2020, 12:43 a.m.