使用R做到这一点的任何简单方法吗?
col1 = Subject, col2 = Body
library(dplyr)
library(stringr)
scroll <- read.csv("file")%>%
filter(str_detect(Subject, "scroll"))
Scroll <- read.csv("file")%>%
filter(str_detect(Subject, "Scroll"))
SCROLL <- read.csv("file")%>%
filter(str_detect(Subject, "SCROLL"))
reverse <- read.csv("file")%>%
filter(str_detect(Subject, "reverse"))
Reverse <- read.csv("file")%>%
filter(str_detect(Subject, "Reverse"))
REVERSE <- read.csv("file")%>%
filter(str_detect(Subject, "REVERSE"))