depth | R Documentation |
Get the depth of piled intervals for each section in the sections of x
(see sections
).
depth(x, include_intervals = FALSE)
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. |
include_intervals |
Logical value determining whether the function should return a vector of depths at each ‘section’ in the range of |
Integer vector giving depth of piled intervals from x
(within each sub-interval) or list containing a property "intervals"
, a matrix of sections, and property "depths"
, giving the corresponding pile depths.
depth(cbind(1:10, 11:20))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.