Description Usage Arguments Value Author(s) See Also Examples
Returns the dates of a particular week. The week can be defined by ISO week or epi week.
1 | dateFromWeek(year, wkIndex, wkMethod = "ISO")
|
year |
a value for the year. |
wkIndex |
a value for the week index of the year. |
wkMethod |
a character string for the week-counting method. Default is "ISO" for ISO-week; other options are "epiSat", "epiSun" and "epiMon" for epi-week method defining Saturday, Sunday and Monday as the firstday in a week, respectively. |
a vector of length 7, containing all the dates in the week, with the format of yyyy-mm-dd.
You Li
weekToMonth
1 2 3 | dateFromWeek(year = 2000, wkIndex = 20)
dateFromWeek(year = 2009, wkIndex = 53)
dateFromWeek(year = 2015, wkIndex = 1, wkMethod = "epiSun")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.