These are weekday methods for the
arithmetic generics.
add_days()
Also check out the examples on the weekday() page for more advanced
usage.
Usage
# S3 method for clock_weekday
add_days(x, n, ...)
Value
x after performing the arithmetic.
Arguments
x
[clock_weekday]
A weekday vector.
n
[integer / clock_duration]
An integer vector to be converted to a duration, or a duration
corresponding to the arithmetic function being used. This corresponds
to the number of duration units to add. n may be negative to subtract
units of duration.
...
These dots are for future extensions and must be empty.
Details
x and n are recycled against each other using
tidyverse recycling rules.