r filter data frame code example Example: r filter df df %>% filter(column1 == 'X', column2 > 667) # , = and # | = or