Description Usage Arguments Value Note Examples
Function fars_summarize_years
summarizes
the number of fatal accidents in each year
by MONTH
.
1 | fars_summarize_years(years)
|
years |
a vector or list of years |
Function fars_summarize_year
returns a data frame with the total numbers of
fatal incidences by month
, in each year
.
If a element year
in argument years
is invalid,
function fars_read_years
returns NULL
and be reported as error in the invalid year
.
If year
is not integer, it would be transfered to as.integer
.
1 2 | ## Not run: fars_summarize_years(2014)
## Not run: fars_summarize_years(c(2012, 2013))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.