Description Usage Arguments Value Examples
This function takes a vector of ISO week numbers (of the form YYYYWW) and returns a Date
vector with the first Monday of each week. It is essentially the inverse function of
isoweek
.
1 | isoweekStart(x)
|
x |
A numeric vector of ISO week numbers (of format YYYYWW) |
A vector of class Date
and length equal to x
, containing the
start date (first Monday) of each ISO week.
1 2 | isoweekStart(201740) # Start of 2017-18 influenza surveillance
isoweekStart(isoweek(Sys.Date()))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.