I have a dataset with like 14,000 rows and 40 columns I'm trying to remove all the rows with the below values in the first column of the data set, but when I do something like
filter(data_set, data_set$DMS != rem)
rem <- c("02M177","02M267", "02M933","03M452","05M148","06M178","06M209","07X359","09X274","09X294","09X311","09X350","09X361","09X555","11X355","12X314","14K414","17K532","18K763","19K404","19K557","19K654","19K661","19K662","19K663","19K760","20K264","20K971","23K446","23K599","23K664","23K668","24Q290","24Q311","24Q330","27Q273","27Q297","27Q362","28Q287","28Q332","29Q289","30Q280","30Q291","30Q300","31R028","31R078")
It doesn't work. Is there an easy way to do this or do I have to make a function?