interval_complement-methods: Compute the complement of a set of intervals

Description Usage Arguments Value Note

Description

Compute the complement of a set of intervals.

Usage

1
2
## S4 method for signature 'Intervals_virtual'
interval_complement(x, check_valid = TRUE)

Arguments

x

An "Intervals" or "Intervals_full" object.

check_valid

Should validObject be called before passing to compiled code? Also see interval_overlap.

Value

An object of the same class as x, compactly representing the complement of the intervals described in x.

Note

For objects of class "Intervals", closure on -Inf or Inf endpoints is set to match that of all the intervals with finite endpoints. For objects of class "Intervals_full", non-finite endpoints are left open (although in general, this package does not make a distinction between closed and open infinite endpoints).


intervals documentation built on May 2, 2019, 4:54 p.m.