event-wday: Events related to days of the week

Description Usage Arguments

Description

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
after_wday(x, inclusive = FALSE, start = TRUE)

before_wday(x, inclusive = FALSE, start = TRUE)

between_wdays(x, y, start = TRUE)

on_wday(x, start = TRUE)

on_weekends()

on_weekdays()

Arguments

x

[integer(1) / character(1)]

A day of the week to mark as an event. For on_wday(), this is also allowed to be a vector. This is also allowed to be a full weekday string like "Tuesday", or an abbreviation like "Tues".

inclusive

[logical(1)]

Should x count as an event?

start

[logical(1)]

Should counting start from the beginning of the week? If FALSE, the event is computed as the x-th day from the end of the week.

y

[integer(1) / character(1)]

A day of the week to mark as an event. This is also allowed to be a full weekday string like "Tuesday", or an abbreviation like "Tues".


DavisVaughan/almanac3 documentation built on Oct. 30, 2019, 5:59 a.m.