Creates a unique, ordered complete Date or POSIXct vector.
dtt_seq(from = dtt_date("2000-01-01"), to = dtt_date("2000-01-01"), units = "days", length_out = NULL)
from | A Date or POSIXct scalar of the start date. |
---|---|
to | A Date or POSIXct scalar of the to date. |
units | A string of the units. |
length_out | An integer of the number of units from from. |
A Date or POSIXct vector.
#> [1] "2020-03-04" "2020-03-05"