I have a data frame df1. I would like to find the minimum turning point where after the minimum of each column, the next value is larger than it. For example in x=c(2,5,3,6,