flatten | R Documentation |
For a given set of intervals compute the set of intervals where there is overlap with at least one from the given. The resulting intervals are sorted and detached.
flatten(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.
flatten(rbind(c(1, 3), c(2, 4), c(5, 6)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.