fars_map_state: fars_map_state

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

This function draw a geographical map for a given state and year containing the information of accidents.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

The number (code) of the state of interest

year

A year of interest.

Value

This function creates a geographical map for a specific state and year, containing the information of accidents.

Note

This function provide messages for inexistent states numbers and the absent of accidents in a given year and/or state.

Examples

1
2
3
state.num = 50
year = 2000
fars_map_state(state.num,year)

fardl/framirez documentation built on Feb. 26, 2020, 9:40 a.m.