I have a column called Region in a data frame which is of character type. It has certain junk values as below which I want to remove:
"#VALUE!","10.1","10.2","138","145","161"
But when I try to remove using things like subset they don't get removed as follows:
subset(pro_202_data,Region != c("#VALUE!","10.1","10.2","138","145","161"))
I have tried using only !=
but that also doesn't work.
Please help.