[Solved] filtering a data frame in R [closed]


Assuming that the type of your “Validated” column is numeric:

table2 <- table1[!(table1$Class == "Pathogenic" & table1$Validated == 0),]

solved filtering a data frame in R [closed]