fars_map_state: Display a map by US state depicting location of accidents...

Description Usage Arguments Value Examples

View source: R/fars_functions_documentation_v2.R

Description

This function displays a map by US state. The map depicts the location of accidents based on FARS data, with a dot for each accident.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

Number of the US state.

year

A single numeric or character string specifying a year.

Value

This function returns a map with the location of accidents based on the FARS data for a specific US state and year. The map contains a dot for each accident.

Examples

1
2
fars_map_state(1, 2013)
fars_map_state(5, "2014")

cThErLiLsK/farsvis documentation built on April 9, 2020, 12:26 a.m.