Description Usage Arguments Details Value Examples
Method for giving the reversed rankings of the numerical values of a vector or VarImp object.
1 2 3 4 5 6 |
x |
an object to be reverse ranked. |
note |
a logical specifying whether the (reversed) rankings should be printed instead of the importance values. |
... |
additional arguments to be passed to |
The ranks
function is nothing more than
(length(x) - rank(x, ...) + 1L)
. But it also works for objects of class
VarImp
.
A vector containing the reversed rankings.
1 2 3 4 5 6 |
Anna Betty Cara Debby Emma Hanna Juno
1.45 1.53 1.37 1.61 1.29 1.44 1.71
Reversed ranking: 1 denotes the highest value.
Anna Betty Cara Debby Emma Hanna Juno
4 3 6 2 7 5 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.