Indices of Rows Belonging to Time Intervals
indicesInIntervals(timestamps, intervals)
Arguments
timestamps |
vector of POSIXct timestamps |
intervals |
vector of Interval objects as returned by
lubridate::interval |
Value
indices of elements in timestamps that belong to the given
time intervals