| 1 |
\name{interval_difference} |
| 2 |
|
| 3 |
\alias{interval_difference} |
| 4 |
\alias{interval_difference,Intervals_virtual,Intervals_virtual-method} |
| 5 |
|
| 6 |
\title{Compute set difference} |
| 7 |
|
| 8 |
\description{ |
| 9 |
Compute the set difference between two objects. |
| 10 |
} |
| 11 |
|
| 12 |
\usage{ |
| 13 |
\S4method{interval_difference}{Intervals_virtual,Intervals_virtual}(x, y, check_valid = TRUE) |
| 14 |
} |
| 15 |
|
| 16 |
\arguments{ |
| 17 |
\item{x}{An \code{"Intervals"} or \code{"Intervals_full"} object.} |
| 18 |
|
| 19 |
\item{y}{ |
| 20 |
An \code{"Intervals"} or \code{"Intervals_full"} object, with a |
| 21 |
\code{type} slot matching that of \code{x}. |
| 22 |
} |
| 23 |
|
| 24 |
\item{check_valid}{ |
| 25 |
Should \code{\link{validObject}} be called on \code{x} and \code{y} |
| 26 |
before passing to compiled code? Also see |
| 27 |
\code{\link{interval_overlap}}. |
| 28 |
} |
| 29 |
} |
| 30 |
|
| 31 |
\value{ |
| 32 |
An object representing the subset of the integers or real line, as |
| 33 |
determined by \code{type(x)}, found in \code{x} but not in \code{y}. |
| 34 |
} |
| 35 |
|
| 36 |
\seealso{ |
| 37 |
These methods are just wrappers for |
| 38 |
\code{\link{interval_intersection}} and |
| 39 |
\code{\link{interval_complement}}. |
| 40 |
} |