[r] Subset a dataframe by multiple factor levels