ranked: Function used by MAMSE to transform the data into rescaled ranks.
Description
Functions used by MAMSE to convert the data into rescaled
ranks. By default, ranked=function(x){ rank(x)/(length(x)+1) }
. The user
can redefine the function according to other rescalings.