powered by
Turn NA into "NA"
str_replace_na(string, replacement = "NA")
Input vector. Either a character vector, or something coercible to one.
A single string.
str_replace_na(c(NA, "abc", "def"))
Run the code above in your browser using DataLab