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