Description Usage Arguments Value
Reorders a vector or list according to a given ranking ranking
.
1 | sortByRanking(xs, ranking = rank(xs))
|
xs |
The vector or list to reorder. |
ranking |
The ranking to sort |
The result of reordering xs
by ranking
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.