fars_map_state: fars_map_state

Description Usage Arguments Value Note Examples

View source: R/fars_function.R

Description

This function makes a plot of the fatality traffic for a specified state of the United States, according to the year established by the user.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

A numeric value for the state of the United States to analyze.

year

A numeric value giving the year to analyze.

Value

This function returns a geographic plot of the state where there has been at least one fatality traffic accident for a particular year.

Note

There will be errors if any of the arguments are absent or if there are no numeric values for the arguments.

Examples

1
fars_map_state(39, 2014)

kevortiz10/fars_package documentation built on Dec. 21, 2021, 6:36 a.m.