Description Usage Arguments Details Value Author(s)
View source: R/F_getDay_ISO8601_week.R
Example date formats defined by ISO 8601: * Single days are written in yyy-mm-dd (y: year, m: month, d: day); e.g., 2016-07-19 * Weeks are written in yyyy-Www; e.g., 2016-W29
1 2 3 4 | getDay_ISO8601_week(
theweek,
day = c("Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun")
)
|
theweek |
the string with the week name |
day |
the weekday that shall be returned |
The function uses format und as.Date internally and can therefore not handle ISO8601 week formats. Therefore, a workaround is implemented that can lead to suspicious behavior in future versions
the date of the weekday in the given week
Konstantin Hopf konstantin.hopf@uni-bamberg.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.