Description Usage Arguments Value Examples

Check that `x`

is an integer matrix specifying intervals, that the specified intervals are detached (i.e. non-overlapping/disjoint and non-touching) and that it is sorted (given that the intervals are detached, sorting by start position gives a unique result), and that the start points are greater than the end points (i.e. that they are non-empty/the lengths of all intervals is greater than zero).

1 |

`x` |
Integer matrix of two columns, the first column giving the (inclusive) start points of intervals and the second column giving the corresponding (exclusive) end points. |

Boolean value.

1 2 3 | ```
detached_sorted_nonempty(cbind(1:2, 2:3))
detached_sorted_nonempty(cbind(c(1, 3), c(2, 4)))
detached_sorted_nonempty(cbind(1, 1))
``` |

IntervalSurgeon documentation built on June 16, 2018, 1:36 p.m.

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.