Method for checking if an interval is overlapping with a single number (start = end) or an ordered pair of numbers (start < end). Two intervals (start1, end1) and (start2, end2) are overlapping if (end2 >= start1 and start2 <= end1).
## S4 method for signature 'Interval,numeric' isOverlap(theObject, someNumbers)
an Interval object
a vector of one or two numbers to test overlap. If two numbers are provided, they are treated as an interval (start, end)
a logical value TRUE or FALSE
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.