fars_map_state: Draw a map

Description Usage Arguments Value

View source: R/fars_functions.R

Description

Function that return the map of a state accidents in given year(s)

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

An integer representing a US State

year

A integer that represent a year we are looking the data for

Value

map a map object. If the state id is not correct the function stops. No measures return as message.


jpmaillard/Fars_Project_Mastering_R_Development documentation built on Jan. 30, 2020, 12:24 a.m.