2
I’m validating a base on R and I’ve identified some lines that don’t make sense so I’ll have to exclude some of them. What is the best way to delete lines containing 'N', 'P' and 'K' from the base$fraud variable in the example below? I tried this function and it didn’t work: subset(renamed base_fraud = "K")