Answers for "remove all rows containing certain data in r"

R
0

delete all rows that contain a string in R

library(dplyr)

df %>% 
  filter(!grepl('REVERSE', Name))
Posted by: Guest on May-24-2020
0

delete all rows that contain a string in R

df[ grep("REVERSE", df$Name, invert = TRUE) , ]
Posted by: Guest on May-24-2020

Code answers related to "remove all rows containing certain data in r"

Browse Popular Code Answers by Language