I have a dataframe with three columns e.g.
a <- c(1,214,124,124,64,43)
b <- c(0.1,0.9,0.8,0.25,0.3,0.11)
c <- c(1000,12311,2221,5676,3234,7346)
myframe <- data.frame(a,b,c)
Now I want to find the best combination of a, b and c. The best combination would be where a is the highest, b the lowest and c the highest. If there are more than one combination where b and c are the lowest respective highest, a should be the deciding factor.
How can this be achived?