This is a iso-year-week-day method for the
Sequences can only be generated for
iso-year-week-day vectors. If you need to generate week-based sequences,
you'll have to convert to a time point first.
seq(), exactly two of the following must be specified:
# S3 method for clock_iso_year_week_day seq(from, to = NULL, by = NULL, length.out = NULL, along.with = NULL, ...)
The unit to increment the sequence by.
The length of the resulting sequence.
A vector who's length determines the length of the resulting sequence.
These dots are for future extensions and must be empty.
A sequence with the type of
#> <iso_year_week_day<year>> #>  "2020" "2022" "2024" "2026"# Which we can then set the week of. # Some years have 53 ISO weeks, some have 52. set_week(x, "last")#> <iso_year_week_day<week>> #>  "2020-W53" "2022-W52" "2024-W52" "2026-W53"