replace_with_na function

Detect and replace values with NA from a vector