interval_difference | R Documentation |

Compute the set difference between two objects.

```
## 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`

.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.