fars_map_state: The fars_map_state function takes the state number and year...

Description Usage Arguments Value Examples

View source: R/fars_map_state.R

Description

The fars_map_state function takes the state number and year as an input and displays a plot of the state with the number of fatalaties mapped as dots at the appropriate location of the incident. To be able to use this function ensure the maps package is installed

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

and years Take the statenum and year and displays a map plot of the state for the year specified with the dots for each fatal injury incident

Value

This function returns map plot of the state for the year specified with the dots for each fatal injury incident with the map at their corresponding latitude and longitude of occurence

@importFrom maps map

Examples

1
2

mstanley2017/CourseraAssignment3 documentation built on May 23, 2019, 8:16 a.m.