powered by
which.pmin(...)
which.pmin(1:10, 10:1) which.pmin(2, 10:1)
Run the code above in your browser using DataLab