View source: R/60-interval_index-query-api.R
| pop_all_within | R Documentation |
Pop All Intervals Within a Query Interval
pop_all_within(x, start, end, bounds = NULL)
x |
An |
start |
Query interval start. |
end |
Query interval end. |
bounds |
Optional boundary override. One of |
Use as.list() to convert elements to a standard R list.
A list with elements and remaining, both interval_index objects.
ix <- interval_index("a", "b", "c", start = c(1, 2, 4), end = c(6, 3, 5))
out <- pop_all_within(ix, 1, 4)
as.list(out$elements)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.