
Map values onto a target marginal distribution by ranks
Source:R/SpectralTools.R
HistogramTransform.RdThe value of rank r (ties broken by position) among n becomes the type-7
sample quantile of target at probability (r - 1)/(n - 1); with as
many targets as values this is the sorted target in the rank order of the
values (Journel and Deutsch 1993).