Description Usage Arguments Details Value Examples
From a file in the working directory, this function makes a representation of a state with dots representing accidents. All previous for a valid state number and a valid year.
1 | fars_map_state(state.num, year)
|
state.num |
a number that represent a state |
year |
a number representing a year |
this function neeeds make_filename() and fars_read() from this package. As this function is necessary, all its details and notes must be consider.
a plot representing the given state with dots that represent accidents. For an invalid state number it stops the execution and returns an error message.If the given state doesn't have any accident it returns a message.
1 2 3 4 5 | ## Not run:
fars_map_state(4, 2013)
fars_map_state(6, 2014)
fars_map_state(10, 2015)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.