Description Usage Arguments Value Examples
View source: R/fars_functions.R
The function uses the argument years
and returns a summary of accidents for years
.
1 | fars_summarize_years(years)
|
years |
An list of interger values (or values that will cast to integer) repersenting years. |
This function returns an (n+1) x 12 tibble where n is the number of elements in the
argument years
. The additional column is the month number. The value of each cell is
the count of accidents by month (row) and year (column).
1 2 3 4 | ## Not run: #' fars_summarize_years(c(2013,2015)
fars_summarize_years(2014)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.