na_if | R Documentation |
NA
Convert values to NA
.
na_if(x, y)
x |
A vector |
y |
Value to replace with |
vec <- 1:3
na_if(vec, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.