Peek All Intervals Containing a Point
Details
The returned interval_index can be inspected with as.list().
Examples
ix <- interval_index("a", "b", "c", start = c(1, 2, 4), end = c(3, 2, 5))
as.list(peek_all_point(ix, 2))
#> [[1]]
#> [1] "a"
#>
Peek All Intervals Containing a Point
The returned interval_index can be inspected with as.list().
ix <- interval_index("a", "b", "c", start = c(1, 2, 4), end = c(3, 2, 5))
as.list(peek_all_point(ix, 2))
#> [[1]]
#> [1] "a"
#>