Function adapted_ranks

Performs rank adaptation on a set of ranks

Performs different types of rank adaptation on a set of ranks and a matrix of determined actual differences of ranked entities.

The function looks for sets of entities that are considered equal according to the different matrix and adapts their ranks in one of the following ways:

Input:

Output