event-yday: Events related to days of the year

Description Usage Arguments Details

Description

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
after_day(x, inclusive = FALSE, start = TRUE)

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

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

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

between_days(x, y, start = TRUE)

between_ydays(x, y, start = TRUE)

on_day(x, start = TRUE)

on_yday(x, start = TRUE)

Arguments

x

[integer(1)]

A day of the year to mark as an event. For on_day(), 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 year? If FALSE, the event is computed as the x-th day from the end of the year.

y

[integer(1)]

A day of the year to mark as an event.

Details

on_day() is an alias of the less common, but more verbose, on_yday().


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