Description Usage Arguments Value Examples
Return the indices of n maximum or minimum values
1 2 3 | which_max_n(x, n = 1)
which_min_n(x, n = 1)
|
x |
:: ( |
n |
:: ( |
an integer()
vector.
1 2 | which_max_n(1:4, 2)
which_min_n(1:4, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.