match_intervals: Find intervals containing points

Description Usage Arguments Value See Also

Description

Find intervals containing points

Usage

1

Arguments

point

Points

start

Lower boundaries of intervals

end

Upper boundaries of intervals

Value

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.

See Also

find_matching_intervals


cbaumbach/miscFun documentation built on May 13, 2019, 1:48 p.m.