Learn R Programming

tis (version 1.39)

currentMonday: Day of Week Time Indexes

Description

Return daily ti's for particular days of the week

Usage

currentMonday(xTi = today())
currentTuesday(xTi = today())
currentWednesday(xTi = today())
currentThursday(xTi = today())
currentFriday(xTi = today())
currentSaturday(xTi = today())
currentSunday(xTi = today())
latestMonday(xTi = today())
latestTuesday(xTi = today())
latestWednesday(xTi = today())
latestThursday(xTi = today())
latestFriday(xTi = today())
latestSaturday(xTi = today())
latestSunday(xTi = today())

Arguments

xTi

a ti object or something that the ti() function can turn into a ti object

Value

currentMonday returns the daily ti for the last day of the Monday-ending week that its argument falls into. currentTuesday returns the daily ti for the last day of the Tuesday-ending week that its argument falls into, and so on for the other weekdays.

latestMonday returns the daily ti for the last day of the most recent completed Monday-ending week that its argument falls into. Ditto for the other days of the week.

See Also

ti