Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > targetList <- c("nice", "perfect", "good")
- > phrase1 <- "this is not very good"
- > negate(targetList, phrase1, 15 )
- [1] "this is not very good"
- > phrase2 <- "this isn't very good"
- > negate(targetList, phrase2, 15 )
- [1] "this isn't very good"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement