fars_map_state: Plots the Fars data on a US stat map

Description Usage Arguments Value Examples

View source: R/fars_function.R

Description

This function takes one or more year and a US state.num as input and plots the Fars data for the given years on the states map. If a year or the state number does not exist in the data the function will return an error.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

A number representing a US state.

year

The year the data was obtained.

Value

Returns a map with the Fars data of the given year plotted to a given US states map.

Examples

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

## End(Not run)

Jelly90/FarsRPackage documentation built on May 26, 2020, 12:12 a.m.