Mean pairwise L1 distance computed on the within-block ranks
Source:R/representations.R
riposte_mean_rank_dist.RdLike riposte_mean_dist() but applied to the mid-ranks of y, so it measures
how far each unit sits from the others in rank space. Robust to the outcome's
scale and to outliers.