powered by
compute the indices of sorting yrange in decreasing order
permInd(yrange)
returns the integer vector indices of sorting yrange in decreasing order
numeric vector (max-min) for vector of y values
permInd(yrange(yList1))
Run the code above in your browser using DataLab