| ranks | R Documentation | 
Method for giving the reversed rankings of the numerical values of a vector or VarImp object.
 
   ranks(x, note = TRUE, ...)
## Default S3 method:
ranks(x, note = TRUE, ...)
## S3 method for class 'VarImp'
ranks(x, note = TRUE, ...)
| 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.
  ## High Jump data
  HighJumps <- c(Anna = 1.45, Betty = 1.53, Cara = 1.37, Debby = 1.61, 
                 Emma = 1.29, Hanna = 1.44, Juno = 1.71)
  HighJumps
  ## ranking of high jump data
  ranks(HighJumps)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.