Description Usage Arguments Examples
Returns vector of booleans indicating whether the timestamps at corresponding positions in a vector of timestamps lie within a time interval, specified by first and/or last timestamp of the interval.
1 2 3 4 5 6 7 8 |
tstamps |
vector of timestamps, either as character strings in ISO-format (yyyy-mm-dd HH:MM:SS), as Date objects or as POSIXt-objects |
tsFirst |
first timestamp ( |
tsLast |
last timestamp ( |
firstIncluded |
if |
lastIncluded |
if |
dbg |
should debug messages be shown? |
1 2 | tstamps <- sequenceOfTimestamps("2017-11-03", "2017-11-04")
table(timestampIn(tstamps, "2017-11-03 12:00:00", "2017-11-03 13:00:00"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.