fars_map_state: Draw points on the map

Description Usage Arguments Value Warnings

Description

This function draws points on the map according to the dataset which depends on year parameter. Also, function filters data with state.num

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

number of the state

year

Year of the dataset

Value

map plot with points

Warnings

If state does not exist, function throws error: invalid STATE number If data rows are 0 after filtering, then function returns NULL and warning.


Saphirox/Week4 documentation built on June 7, 2019, 9:53 a.m.