Description Usage Arguments Value Author(s) Examples
returns indexes associated to the sorted values of the parameter vector.
1 | sort_index(vec, order = 0)
|
vec |
vector to be sorted. |
order |
if 0, ascending order, if 1, descending order. |
indexes associated to the sorted input vector.
Pierrick Bruneau
1 2 | temp <- rnorm(10)
temp2 <- sort_index(temp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.