seq_by_3_month {telraamStats} | R Documentation |
Generate sequence of intervals with three-month periods
Description
This function is used internally in the retrieve_sensor
function to generate a sequence of intervals with three-month periods. It takes a start date (start_date
) and an end date (end_date
), and returns a data frame with two columns representing the start and end dates of each interval.
Usage
seq_by_3_month(start_date, end_date)
Arguments
start_date |
Date. Start date in "yyyy-mm-dd" format. |
end_date |
Date. End date in "yyyy-mm-dd" format. |
Value
Dataframe with a start
and an end
columns, each row represents 3 months period.
Examples
seq_by_3_month(as.Date('2023-11-01'),as.Date('2024-11-01'))
[Package telraamStats version 1.1.2 Index]