fars_map_state: Showing where accidents occured

Description Usage Arguments Details Examples

Description

This function a graphic showing in a map where the accident occured given a state number and a year

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

A integer

year

A integer

Details

If the state number is wrong (>56) an error message is printed. If the state considered contains no accident, a message is printed saying there is no accident to plot

Examples

1
2
library(maps)
MyMap<- fars_map_state(1,2013)

cdv04/FarsPack documentation built on May 13, 2019, 2:46 p.m.