Description Usage Arguments Value Examples
View source: R/fars_functions.R
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
1 2 3 4 5 | ## Not run:
fars_summarize_years(c(2001, 2005, 2007))
fars_summarize_years(c("2001", "2005", "2007"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.