Description Usage Arguments Details Value References Examples
This functions generates a set of intervals with distinct endpoints such that running any of the functions in this package on the return value gives the same answer as running those functions on the input.
1 | canonicalize(intervals)
|
intervals |
data frame (see generateIntervals for the required format) |
See section 3.1 of Rising (2021).
a data frame in the same format as the input
Rising, Justin (2021). Uncertainty in Ranking. arXiv:2107.03459.
1 2 3 4 5 | left <- c(0, 0, 0, 1, 2)
right <- c(0, 1, 2, 2, 2)
intervals <- data.frame(left = left, right = right)
toMatrix(intervals)
toMatrix(canonicalize(intervals))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.