tnext_: tnext_

Description Usage Arguments

View source: R/cron.R

Description

Given a time sequence from the time t with a frequency, return the first sequence element that is >= tnow

Usage

1
tnext_(t, tnow = Sys.time(), frequency = "1 day")

Arguments

t

datetime, start of sequence

frequency

a string consisting of an integer, a space, and then one of "seconds", "minutes", "hours", "days", "weeks", "months", "years". Plural form is optional and "sec" and "min" are understood.


rushkin/bitsandends documentation built on Oct. 21, 2020, 11:43 a.m.