Description Usage Arguments Value Examples
Represent the order generated by a set of intervals as a boolean matrix. This is a common input format for programs that operate on partial orders.
1 |
intervals |
data frame (see generateIntervals for the required format) |
strict |
is this <= or <? |
binary |
output is coded as 0/1 if TRUE and FALSE/TRUE otherwise |
A boolean matrix. If strict is set to TRUE, the (i, j)th entry is intervals[i, 'right'] < intervals[j, 'left']. If strict is set to false, <= is used in place of <.
1 2 | intervals <- generateIntervals(10)
toMatrix(intervals)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.