powered by
Convert values to NA.
NA
na_if.(x, y)
An R object
Value(s) to replace with NA
vec <- 1:3 na_if.(vec, 3)
Run the code above in your browser using DataLab