Rescale the vector x empirically to uniform margin.
x
unif(x)
Numeric vector with entries rescaled to uniform margins
Numeric vector.