Learn R Programming

dint (version 2.1.4)

date_xx_sequences: date_xx Sequence Generation

Description

date_xx Sequence Generation

Usage

# S3 method for date_yw
seq(from, to, by = 1L, ...)

# S3 method for date_yq seq(from, to, by = 1L, ...)

# S3 method for date_ym seq(from, to, by = 1L, ...)

Value

an integer vector with the same date_xx subclass as from/to

Arguments

from, to

the starting and (maximal) end value of the sequence. Must be of the same class (i.e. both must be a date_yq, date_ym, etc..)

by

a positive integer scalar to increment the sequence with (either in quarters, months or isoweeks, depending on the class of from/to)

...

ignored