Concatenate date_xx Objects

# S3 method for date_xx
c(...)

Arguments

...

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

Value

a vector of the same date_xx subclass as the first element of ...

Examples

c(date_yq(2000, 1:2), date_yq(2000, 3:3))
#> [1] "2000-Q1" "2000-Q2" "2000-Q3"
# raises an error try(c(date_yq(2000, 1:2), date_ym(2000, 1:12)))
#> Error : All inputs to c.date_xx() must be of the same <date_xx> subclass