reduce {intervals} | R Documentation |
In general, Intervals
and
Intervals_full
objects may be redundant, and the
intervals they contain may be in arbitrary order. The reduce
function re-represents the underlying subsets of the integers or the
real line in the unique, minimal form.
## S4 method for signature 'Intervals_virtual': reduce( x, check_valid = TRUE )
x |
An "Intervals" or "Intervals_full" object. |
check_valid |
Should validObject be called before passing to
compiled code? Also see interval_overlap .
|
A single object of appropriate class, compactly representing the
union of all intervals in x
.
See interval_union
, which is really just a wrapper for
reduce
.