event-year: Events related to years

Description Usage Arguments

Description

Additionally, there are equivalent functions for ISO years and epidemilogical years.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
after_year(x, inclusive = FALSE)

after_isoyear(x, inclusive = FALSE)

after_epiyear(x, inclusive = FALSE)

before_year(x, inclusive = FALSE)

before_isoyear(x, inclusive = FALSE)

before_epiyear(x, inclusive = FALSE)

between_years(x, y)

between_isoyears(x, y)

between_epiyears(x, y)

on_year(x)

on_isoyear(x)

on_epiyear(x)

Arguments

x

[integer(1)]

A year to mark as an event. For on_year(), this is also allowed to be a vector.

inclusive

[logical(1)]

Should x count as an event?

y

[integer(1)]

A year to mark as an event.


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