Description Usage Arguments Value Examples
View source: R/fars_functions.R
This function takes state.num
and year
as input agruments and returns a map with the corresponding
data points. If the input variable state.num
is not represented in the data-set the function will return
an error message.
1 | fars_map_state(state.num, year)
|
state.num |
A character or numeric vector. It specifies the |
year |
A character or numeric vector to specify the |
This function plots a map with points, representing the individual accident observations. If there
are no accidents for a given STATE
the function returns NULL
1 2 | fars_map_state(4,2013)
fars_map_state(1,2014)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.