Skip to contents

Creates a new set of segments from a partition of points

Usage

remove_max_gaps(start_end_points, max_gaps, remove_short_segment = 0)

Arguments

start_end_points

a data.frame with start and end named columns representing intervals

max_gaps

a data.frame with start and end named columns representing gaps

remove_short_segment

the minimum segment length to include in the final segments

Value

a data.frame of the intervals with max gaps removed

start

start indices of new intervals

end

end indices of new intervals