Description Usage Arguments Value Examples
This function read in a fars data file for a given year, and take a state.num. If state.num exist, it draws a map for a given year and the state If state.num does not exist, throw a error. If there is no observation in the given year and state, throw a message
1 | fars_map_state(state.num, year)
|
state.num |
a numeric number |
year |
a numeric number to indicate year -4 digt |
an error if the state.num given doesn't exist. a message if there is no oberservation in the year and state.num given. Otherwise, a map
1 | ## Not run: fars_map_state(1,2015)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.