sq.date: Quickly create a date sequence

Description Usage Arguments Value

Description

Quickly create a date sequence without write a mountain of "as.Date" and write the long argument "length.out = ".

Usage

1
2
3
4
5
sq.day(from, to = NULL, len = NULL)

sq.month(from, to = NULL, len = NULL)

sq.year(from, to = NULL, len = NULL)

Arguments

from

A string of the initiate date, "1949", "1949-01", "1949-01-01", "1949/01", "1949/01/01", "1949.01", "1949.01.01" are acceptabel.

to

A string of the end date, format is as same as from.

len

The length of the sequence.

Value

A date sequence.


Sibada/sibadaR documentation built on Jan. 31, 2020, 6:40 p.m.