Description Usage Arguments Value Examples
Monthly number of accident for given years in FARS data
1 | fars_summarize_years(years)
|
years |
a vector of years for which FARS data file will be loaded and number
of accident will be summurized |
return NULL for an invalid year. For a valid input, returns list of
FARS data in data frame in years and number of accidents. It uses fars_read_years
function.
1 2 3 4 5 | ## Not run:
fars_summarize_years(c(2013, 2014))
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.