Description Usage Arguments Value See Also
Find intervals containing points
1 | match_intervals(point, start, end)
|
point |
Points |
start |
Lower boundaries of intervals |
end |
Upper boundaries of intervals |
A list of the same length as point
where element
i
contains the indexes of closed intervals
[start
, end
] containing point[k]
.
NA
points result in an NA
vector of indexes.
Points that don't belong to any interval result in a length-0
vector of indexes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.