I am trying to delete all the rows in a Dataframe with the string "$null$". I was trying to use the following code to achieve that for a column called "resale". Can someone please tell me what I might be doing wrong here.
cars3 <- cars_2[!grepl("$null$", cars_2$resale),]