I wonder how I can drop columns from a data frame in R based on specified order of row values.
Assume the following data frame:
df <- data.frame(a =