fars_map_state: Draw a dot map of FARS data for a particular year in a...

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This function should be supplied with a state number and a 4-digit year, and will draw a dot map of all the accidents occurring that year in that state.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

an integer representing a US state number. Must be a state number which appears in the data file for the relevant year, otherwise an error message will result.

year

A 4-digit number denoting a year. Must be a year for which you have a FARS data file, otherwise an error message will result.

Value

A map of the accidents occuring that year in that state.

Examples

1
fars_map_state(40,2013)

AECunningham/FARS2 documentation built on Oct. 30, 2019, 4:08 a.m.