Description Usage Arguments Value Examples
View source: R/fars_functions.R
This function can be used to draw a map of a state, with a dot for each registered
accident in a given year. The state is selected via the state.num
argument,
the year through the year
aergument.
1 | fars_map_state(state.num, year)
|
state.num |
An integer between 1 and 56 representing the state number |
year |
An integer representing an year |
This function plots a map of a state with accident data represented by point.
It does not return anything. Not inputing an integer in state.num
will result
in an error.
1 2 3 4 | ## Not run:
fars_map_state(1,2015)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.