seq.yearweek | R Documentation |
Title Create a year-week sequence
## S3 method for class 'yearweek'
seq(from, to, by, rangef = "yearweek")
from |
Start date in yearweek (YYYYWW) or date format |
to |
End data in yearweek (YYYYWW) or date format |
by |
Increments for sequence in weeks |
rangef |
Format of time-range (from and to); one of yearweek or date.Default is yearweek. |
Returns a sequence of yearweek values for the range
# seq.yearweek(from = 202102, to = 202105, by = 1, rangef = "yearweek")
# seq.yearweek(from = "20210205", to = "20210510", by = 2, rangef = "date")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.