Answers for "filter grepl r"

0

filter grepl r

df1 %>% filter(!grepl("^x|xx$", fruit))
###
    fruit group
1   apple     A
2  orange     B
3 banxana     A
4 appxxle     B
Posted by: Guest on May-18-2020
0

grepl filter r

df1 %>% filter(!grepl("^x|xx$", fruit))
Posted by: Guest on May-12-2020

Browse Popular Code Answers by Language