Learn R Programming

rankUncertainty (version 1.0.2.0)

coverGraph: Compute the cover graph of order generated by intervals

Description

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

Usage

coverGraph(intervals, names = NULL)

Arguments

intervals

data frame (see generateIntervals for the required format)

names

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

Value

A list of edges of the cover graph.

Details

See section 6 of Rising (2021).

References

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

Examples

Run this code
# NOT RUN {
left <- sort(c(1:3, 1:3 + 0.1))
right <- left + 0.7
intervals <- data.frame(left = left, right = right)
coverGraph(intervals)

# }

Run the code above in your browser using DataLab