IntervalSurgeon-package {IntervalSurgeon} | R Documentation |
Operating on Integer-Bounded Intervals
Description
Manipulate integer-bounded intervals including finding overlaps, piling and merging.
Details
The DESCRIPTION file: This package was not yet installed at build time.
Index: This package was not yet installed at build time.
IntervalSurgeon presents functions for manipulating integer-bounded sets of intervals.
Sets of intervals are represented by two-column matrices, where inclusive start points are stored in the first column, and exclusive end points in the second.
A central concept in the package is the ‘sections’ of a set of intervals x
: the non-overlapping, completely-covering set of intervals on the range of x
, formed by making intervals between the consecutive sorted start/end points of the intevals in x
.
The function sections
returns such a set of intervals given an input set.
Author(s)
Daniel Greene
Maintainer: Daniel Greene <dg333@cam.ac.uk>