Calculate the maximal and minimal rank possible for each node
in any ranking that is in accordance with the partial ranking
A data frame with the minimal, maximal rank of each node together with the mid point of the two extrema.
Note that the returned
mid_point is not the same as the expected
rank, for instance computed with exact_rank_prob.
It is simply the average of
max_rank. For exact rank probabilities
#> min_rank max_rank mid_point #> 1 1 2 1.5 #> 2 1 4 2.5 #> 3 2 4 3.0 #> 4 3 5 4.0 #> 5 3 5 4.0