make_epochs | R Documentation |
Generate a tibble of epochs.
make_epochs(
start_year = 1987,
end_year = 2020,
epoch_step = 5,
epoch_overlap = TRUE
)
start_year |
Minimum year in epochs |
end_year |
Maximum year in epochs |
epoch_step |
Numeric. How many years in an epoch? |
epoch_overlap |
Logical. Should epochs overlap by one year? i.e.
|
Tibble with columns
First year of epoch
Last year of epoch
List column containing the years for the epoch
Last two digits of first year and last year in epoch. e.g. 10-19.
List column of full path of raster files to summarise.
now <- as.numeric(format(Sys.Date(), "%Y"))
make_epochs(now - 30, now, 10)
make_epochs(now - 30, now, 10, F)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.