interval_complement | R Documentation |

Compute the complement of a set of intervals.

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

`x` |
An |

`check_valid` |
Should |

An object of the same class as `x`

, compactly representing the
complement of the intervals described in `x`

.

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).

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.