powered by
replace_na(x, repl = "auto")
x
replace_na(c(1, NA, 1, 0))
Run the code above in your browser using DataLab