dplyr
使用dplyr包中的filter函数根据数据框中某一列进行数据过滤,这个过滤只能进行数字的比较
filter
stringr
使用stringr包中的str_detect函数对某一列进行正则过滤
str_detect
filter(b,str_detect(V1,pattern = "^e"))
Last updated 5 years ago