overlapping {timetools} | R Documentation |
Test if any interval of a time intervals object intersect another
Description
For objects based on time intervals. Test if any interval overlap another one. Because the test can be ressource consuming, it stops at the first case encoutered that does not satisfy this condition. The two indices corresponding are printed.
Usage
overlapping(x, idx, ...)
## S4 method for signature 'TimeIntervalDataFrame,ANY'
overlapping(x, idx, ...)
## S4 method for signature 'TimeIntervalDataFrame,logical'
overlapping(x, idx, ...)
Arguments
x |
object to test for overlapping |
idx |
Logical set to TRUE if indexes of all overlapping intervals are to retrieve. |
... |
arguments to or from other methods |
Value
logical indicating if 'x' has any overlapping time interval.
See Also
TimeIntervalDataFrame, POSIXcti
[Package timetools version 1.15.3 Index]