powered by
Returns the index of the (parallel) maxima of the input values
which.pmax(...)
Numeric or character vectors of the same length
Vector of rankings
# NOT RUN { which.pmax(1:10, 10:1) which.pmax(2, 10:1) # }
Run the code above in your browser using DataLab