fars_map_state: Plots accidents for given state and year if there are any

Description Usage Arguments Value Examples

Description

It checks if sate.num is a valid identifier It requires filter from dplyr, map from maps and points from graphics

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

An integer identifying the state to map

year

An integer identifying the year from which to extract the accidents

Value

A points plot of the accidents location within the state

Examples

1

rcvalenzuela/fars documentation built on May 9, 2019, 5:57 p.m.