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
- • pcrcalcbindingResult = Result.map;Chances11 = Chances11.map;Chances12 = Chances12.map;initialreport Result = argorder(Chances11,Chances12);• pythonChances11 = readmap(“Chances11.map”)Chances12 = readmap(“Chances12.map”)Result = argorder(Chances11,Chances12)