Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (i in 1:nrow(words))
- {
- for(j in 1:nrow(paragraphs))
- {
- if(grepl(words[i,1],paragraphs[j,1]))
- {
- paragraphs[j,"count"]=paragraphs[j,"count"]+1
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement