event-qweek: Events related to weeks of the quarter

Description Usage Arguments

Description

Usage

1
2
3
4
5
6
7
after_qweek(x, inclusive = FALSE, start = TRUE)

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

between_qweeks(x, y, start = TRUE)

on_qweek(x, start = TRUE)

Arguments

x

[integer(1)]

A week of the quarter to mark as an event. For on_qweek(), this is also allowed to be a vector.

inclusive

[logical(1)]

Should x count as an event?

start

[logical(1)]

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

y

[integer(1)]

A week of the quarter to mark as an event.


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