get_year_range | R Documentation |
Get best start year and end year values given the data minimum and maximum years and suggested start and end year values
get_year_range(start_yr = NA, end_yr = NA, min_yr = NA, max_yr = NA)
start_yr |
The suggested start year |
end_yr |
The suggested end year |
min_yr |
The minimum year in the data |
max_yr |
The maximum year in the data |
A named list of two, the start and end year that is best
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.