c.date_xx {dint}R Documentation

Concatenate date_xx Objects

Description

Concatenate date_xx Objects

Usage

## S3 method for class '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))

# raises an error
try(c(date_yq(2000, 1:2), date_ym(2000, 1:12)))


[Package dint version 2.1.4 Index]