Description Usage Arguments Details Examples
View source: R/functions_utility.R
Returns the index of the maximum value in list x
.
1 | which_max_list(x, equal_is_random = TRUE)
|
x |
vector of values |
equal_is_random |
boolean |
If there is a tie and equal_is_random
is TRUE
,
the index of one of the tied maxima is returned at random.
If equal_is_random
is FALSE
,
the maximum with the lowest index number is returned.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.