fars_map_state: fars_map_state:

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This function prints filename with a given year.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

number of a state in the US

year

a given year

Value

a plot of accidents' locations of a state

Examples

1
2
x <- fars_map_state(26, "2015")
x <- fars_map_state(26, "201"): error because of invalid year

alaeddine-abbagh/Test_R documentation built on May 23, 2020, 8:05 a.m.