I have a vector like a = c(1:10) and I need to remove multiple values, like 2, 3, 5
How to delete those numbers (they are NOT the positions in the vector) in the vector?
at the moment I loop the vector and do something like:
a[!a=NUMBER_TO_REMOVE]
But I think there is a function that does it automatically.