I have a data.frame with a column that should have continuous data. However, some of the rows have values with '~' and '<' symbols.
c.a <- c(1,5,3,7,4,9,2,3,7)
c.b <- c("a", "c", "f", "s", "r", "q", "w", "e", "t")
c.d <- c(1,4,6, '<5', '~34', 65, 45, 2, 6)
x <- data.frame(c.a, c.b, c.d)
The objective would be to remove rows 4 and 5 from the data.frame x
Hopefully this is not a repeated question, but I have done a quick search and cannot find a solution. Thanks in advance.