Description Usage Arguments Value Examples
View source: R/fars_functions.R
This function summarizes the accidents by year and month for the data frames
imported. It calls the function fars_read_years
from within.
1 | fars_summarize_years(years)
|
years |
A vector of numbers, which represents the years to be analyzed. Can be also a sequence of numbers. |
This function returns a data frame in tibble format with months as rows and years as columns, in which the data are the counts of accidents.
1 2 3 4 5 6 | ## Not run:
fars_summarize_years(2013)
fars_summarize_years(c(2013,2014))
fars_summarize_years(2013:2015)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.