seq_isoweek | R Documentation |
Take two ISO week numbers (of the form YYYYWW) and returns a regular sequence of ISO weeks covering the entire range.
seq_isoweek(from, to = NULL)
from |
Numeric vector of length 1 (first week of sequence), or of length 2
(week range) if |
to |
Numeric vector of length 1 (last week of sequence), or |
A numeric vector of ISO weeks covering the provided range.
seq_isoweek(c(202001, 202301))
seq_isoweek(201840, 201920) # Typical influenza surveillance period
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.