Description Usage Arguments Details Value Note Examples
For valid years and from files in the working directory, this function makes a data frame with MONTH and years columns (one column per year). For each MONTH and year rows, it summarizes the data number.
1 | fars_summarize_years(years)
|
years |
a numeric vector |
this function needs fars_read_years() from this package. As this function is necessary its details and notes are applicable.
an object of the class "tbl_df", "tbl" and "data.frame". For invalid years it returns a warning message.
Preferably, the dplyr package must be load.
1 2 3 4 5 | ## Not run:
years <- c(2013, 2014, 2015)
sum_data <- fars_summarize_years(years)
sum_data
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.