powered by
Concatenate date_xx Objects
# S3 method for date_xx c(...)
a vector of the same date_xx subclass as the first element of ...
date_xx
...
date_yq, date_ym, date_yw or date_y vectors. All inputs must be of the same type (or its unclassed integer equivalent) or faulty output is to be expected
date_yq
date_ym
date_yw
date_y
c(date_yq(2000, 1:2), date_yq(2000, 3:3)) # raises an error try(c(date_yq(2000, 1:2), date_ym(2000, 1:12)))
Run the code above in your browser using DataLab