getDay_US_week: Retrieves the date of the monday in a US week-string (as...

Description Usage Arguments Value Author(s)

View source: R/F_getDay_US_week.R

Description

According to 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-WUww; e.g., 2016-WU29 (typically with the first Sunday of the year as day 1 of week 1)

Usage

1
2
3
4
getDay_US_week(
  theweek,
  day = c("Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun")
)

Arguments

theweek

the string with the week name

day

the weekday that shall be returned

Value

the date of the weekday in the given week

Author(s)

Konstantin Hopf konstantin.hopf@uni-bamberg.de


SmartMeterAnalytics documentation built on Aug. 18, 2020, 5:07 p.m.