seq_date: Generate sequence of dates

Description Usage Arguments Examples

View source: R/seq_date.R

Description

This is like seq.Date, but automatically parses character inputs in from and to arguments making it more convenient to work with.

Usage

1
seq_date(.from, .to, .by, .length.out = NULL)

Arguments

.from

Character/Date scalar. Starting date.

.to

Character/Date scalar. End date.

.by

Passed on to seq.Date.

.length.out

Passed on to seq.Date.

Examples

1
2
3
seq_date("2018-09-01", "2018-09-10")
seq_date("2018-09-01", "2018-09-10", .by = 2L)
seq_date("2019-01-01", .length.out = 10L)

markusdumke/fluid documentation built on Sept. 24, 2019, 11 p.m.