document rank corr functions