fars_map_state: Plot accidents on a map.

Description Usage Arguments Value

View source: R/fars_map_state.R

Description

This function will plot accidents on a map, for a given state and year. Each dot represents a single accident. It will fail if the user provides an invalid state.num or year.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

An integer identifying the state.

year

The year of interest.

Value

A plot with the state outline and individual points representing accidents.


jcpsantiago/FARSr documentation built on May 18, 2019, 10:26 p.m.