R/after-week.R, R/before-week.R, R/between-week.R, and 2 more
event-yweek.Rdon_week() / on_yweek(): Is the date on the x-th week of the year?
before_week() / before_yweek(): Is the date before the x-th week of
the year?
after_week() / after_yweek(): Is the date after the x-th week of
the year?
between_weeks() / between_yweeks(): Is the date between the x-th and
y-th weeks of the year?
after_week(x, inclusive = FALSE, start = TRUE) after_yweek(x, inclusive = FALSE, start = TRUE) before_week(x, inclusive = FALSE, start = TRUE) before_yweek(x, inclusive = FALSE, start = TRUE) between_weeks(x, y, start = TRUE) between_yweeks(x, y, start = TRUE) on_week(x, start = TRUE) on_yweek(x, start = TRUE)
| x |
A week of the year to mark as an event. For |
|---|---|
| inclusive |
Should |
| start |
Should counting start from the beginning of the year? If |
| y |
A week of the year to mark as an event. |
on_week() is an alias of the less common, but more verbose, on_yweek().