vec_arith.clock_year_day {clock} | R Documentation |
Support for vctrs arithmetic
## S3 method for class 'clock_year_day' vec_arith(op, x, y, ...) ## S3 method for class 'clock_year_month_day' vec_arith(op, x, y, ...) ## S3 method for class 'clock_year_month_weekday' vec_arith(op, x, y, ...) ## S3 method for class 'clock_iso_year_week_day' vec_arith(op, x, y, ...) ## S3 method for class 'clock_naive_time' vec_arith(op, x, y, ...) ## S3 method for class 'clock_year_quarter_day' vec_arith(op, x, y, ...) ## S3 method for class 'clock_sys_time' vec_arith(op, x, y, ...) ## S3 method for class 'clock_weekday' vec_arith(op, x, y, ...)
op |
An arithmetic operator as a string |
x, y |
A pair of vectors. For |
... |
These dots are for future extensions and must be empty. |
The result of the arithmetic operation.
vctrs::vec_arith("+", year_month_day(2019), 1)