Description Usage Arguments Value
Compute rank uniformization for a numeric array. First replace each value by its rank. Average rank for ties are used to conserve the number of unique values of discrete quantities. Second, uniformize ranks to scale [1/(2S), 1-1/(2S)], where S is the the number of values.
1 | u_scale(x)
|
x |
A numeric array of values. |
A numeric array of rank uniformized values with the same size as input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.