coverGraph: Compute the cover graph of order generated by intervals

Description Usage Arguments Details Value References Examples

View source: R/coverGraph.R

Description

The cover graph of the order generated by a set of intervals is the minimal graph whose reachability relation is that order.

Usage

1
coverGraph(intervals, names = NULL)

Arguments

intervals

data frame (see generateIntervals for the required format)

names

names of intervals (1:nrow(intervals) by default)

Details

See section 6 of Rising (2021).

Value

A list of edges of the cover graph.

References

Rising, Justin (2021). Uncertainty in Ranking. arXiv:2107.03459.

Examples

1
2
3
4
left <- sort(c(1:3, 1:3 + 0.1))
right <- left + 0.7
intervals <- data.frame(left = left, right = right)
coverGraph(intervals)

rankUncertainty documentation built on Nov. 16, 2021, 1:07 a.m.