seq.clock_iso_year_week_day {clock}  R Documentation 
This is a isoyearweekday method for the seq()
generic.
Sequences can only be generated for "year"
precision
isoyearweekday vectors. If you need to generate weekbased sequences,
you'll have to convert to a time point first.
When calling seq()
, exactly two of the following must be specified:
to
by
Either length.out
or along.with
## S3 method for class 'clock_iso_year_week_day'
seq(from, to = NULL, by = NULL, length.out = NULL, along.with = NULL, ...)
from 
A

to 
A

by 
The unit to increment the sequence by. If If If If 
length.out 
The length of the resulting sequence. If specified, 
along.with 
A vector who's length determines the length of the resulting sequence. Equivalent to If specified, 
... 
These dots are for future extensions and must be empty. 
A sequence with the type of from
.
# Yearly sequence
x < seq(iso_year_week_day(2020), iso_year_week_day(2026), by = 2)
x
# Which we can then set the week of.
# Some years have 53 ISO weeks, some have 52.
set_week(x, "last")