Description Usage Arguments Value Author(s) Examples
This function returns the beginning and end dates for a given epidemiological week. By definition, the first epidemiological week of the year contains at least four days in January.
1 | epiweekToDate(year, weekno, firstday = "Sunday")
|
year |
A four digits numerical value for the epidemiological year |
weekno |
A two digits numerical value for the epidemiological week |
firstday |
A character string specifying the beginning weekday for each epidemiological week. The default for the firstday methods is "Sunday". |
d0 |
Beginning date for this epidemiological week |
d1 |
End date for this epidemiological week |
Xiahong Zhao
1 2 | epiweekToDate(2013,34)
epiweekToDate(2011,40,firstday="Monday")
|
$d0
[1] "2013-08-18 UTC"
$d1
[1] "2013-08-24 UTC"
$d0
[1] "2011-10-03 UTC"
$d1
[1] "2011-10-09 UTC"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.