overlapping | R Documentation |
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.
overlapping(x, idx, ...)
## S4 method for signature 'TimeIntervalDataFrame,ANY'
overlapping(x, idx, ...)
## S4 method for signature 'TimeIntervalDataFrame,logical'
overlapping(x, idx, ...)
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 |
logical indicating if 'x' has any overlapping time interval.
TimeIntervalDataFrame, POSIXcti
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.