argorder
identify highest value by argument order
Result = argorder(chances, chances, chances)
Result = argorderwithid(chances, id, chances, id, chances, id)
Assign to Result the argument number of highest chances value. For the argorder function this argument number is a value between 1 and n. The argorderwithid function will assign the value of id_i when chances_i is the highest value.
A cell with missing value on chances is not considered in the operation; it is assigned a missing value on Result.
This operation belongs to the group of Order
Result.map |
Chances11.map |
Chances12.map |
![]() |
![]() |
![]() |