Attempting to delete rows containing specific strings in R (as shown in this answer: Delete rows containing specific strings in R)
Am consistently getting this error:
Error: Length of logical index vector must be 1 or 10 (the number of rows), not 47428
Any help would be most appreciated!
Reviews<- Reviews[!grep("dog", Reviews$Text)]