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