Learn R Programming

dint (version 2.0.0)

c.date_xx: Concatenate date_xx Objects

Description

Concatenate date_xx Objects

Usage

# 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

Run this code
# NOT RUN {
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