Description Usage Arguments Value Examples
Given a data frame representing a set of intervals, return true if row i is less than row j under the order generated by the intervals and false otherwise.
1 | lessThan(intervals, i, j)
|
intervals |
data frame (see generateIntervals for the required format) |
i |
row index of left-hand side of inequality |
j |
row index of right-hand side of inequaltiy |
Boolean value
1 2 3 4 5 | left <- 0:2 * 0.5 + 1
right <- left + 0.75
intervals <- data.frame(left = left, right = right)
lessThan(intervals, 1, 2)
lessThan(intervals, 1, 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.