Compute the complement of a set of intervals

Compute the set difference between two objects.

1 2 | ```
## S4 method for signature 'Intervals_virtual,Intervals_virtual'
interval_difference(x, y, check_valid = TRUE)
``` |

`x` |
An |

`y` |
An |

`check_valid` |
Should |

An object representing the subset of the integers or real line, as
determined by `type(x)`

, found in `x`

but not in `y`

.

These methods are just wrappers for
`interval_intersection`

and
`interval_complement`

.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.