These functions are deprecated in favor of their set_
prefixed equivalents.
iv_complement()
->iv_set_complement()
iv_union()
->iv_set_union()
iv_intersect()
->iv_set_intersect()
iv_difference()
->iv_set_difference()
iv_symmetric_difference()
->iv_set_symmetric_difference()
Usage
iv_complement(x, ..., lower = NULL, upper = NULL)
iv_union(x, y)
iv_intersect(x, y)
iv_difference(x, y)
iv_symmetric_difference(x, y)
Arguments
- x
[iv]
An interval vector.
- ...
These dots are for future extensions and must be empty.
- lower, upper
[vector(1) / NULL]
Bounds for the universe over which to compute the complement. These should have the same type as the element type of the interval vector. It is often useful to expand the universe to, say,
-Inf
toInf
.- y
[iv]
An interval vector.