stitch | R Documentation |
Given an integer matrix specifying disjoint intervals sorted by start position, merge intervals with matching start and ends, and remove intervals of length zero.
stitch(x)
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. |
Intervals represented by integer matrix of two columns.
stitch(cbind(1:2, 2:3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.