rank_avg
Rank of a value (ties get the average of the ranks).
Syntax
Section titled “Syntax”v = rank_avg(number, ref, order)Description
Section titled “Description”Like rank_eq but tied values get the average of the ranks they would have received with no ties (the so-called fractional ranking).
Example
Section titled “Example”rank_avg(7, [3 5 7 7 9]) % 2.5See also
Section titled “See also”rank_eq— Rank of a value (ties get the same rank).