Description Usage Arguments Details Value Note Examples
fars_summarize_years is used to create a summary of the number of data points per year and each month in the year.
1 | fars_summarize_years(years)
|
years |
A character or integer vector of years |
The function creates a summary dataframe of number of data points in the FARS data set summarized per year and each month
This function returns a dataframe.
Error message:If an incorrect year integer or string is entered then an error is thrown
1 2 3 4 5 | ## Not run:
fars_summarize_years(2013)
fars_summarize_years(c(2013,2014))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.