R/after-year.R, R/before-year.R, R/between-year.R, and 2 more
event-year.Rdon_year(): Is the date on year x?
before_year(): Is the date before year x?
after_year(): Is the date after year x?
between_years(): Is the date between years x and y?
Additionally, there are equivalent functions for ISO years and epidemilogical years.
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)
| x |
A year to mark as an event. For |
|---|---|
| inclusive |
Should |
| y |
A year to mark as an event. |