filtering dataframes in R code example Example: r filter df df %>% filter(column1 == 'X', column2 > 667) # , = and # | = or