I am trying to subset/filter a data frame according to the corresponding column elements from another data frame. Here is what I used to do this
df <- df1[