Assume I have a dataframe df like
df
[,1] [,2] [,3] [,4] x 1 2 7 1 y 1 5 1 5
I would like to find the ind