r_scale {posterior} | R Documentation |
Compute ranks for a numeric array, that is, replace each value by its rank. Average rank for ties are used to conserve the number of unique values of discrete quantities.
r_scale(x)
x |
(numeric) A scalar, vector, matrix, or array of values. |
A numeric array of ranked values with the same size and dimension as the input.