fars_map_state: Draw a state map with dots showing location of each accident

Description Usage Arguments Note Examples

Description

This function generates a picture of the state map with dots showing location of each accident for the given year and state

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

Numeric state number. If state.num cannot be converted to an integer or there is no state corresponding to this number an error will be generated

year

Numeric year for which to draw a map

Note

This function has no return value. It is used only for its side effect of drawing the picture. If there are no recorded accidents for a given state-year combination a message will be reported indicating this.

Examples

1
2
3
4
## Not run: 
fars_map_state(6,2015)

## End(Not run)

vsemichev/farsr documentation built on May 3, 2019, 7:08 p.m.