str_replace_na | R Documentation |
Turn NA into "NA"
str_replace_na(string, replacement = "NA")
string |
Input vector. Either a character vector, or something coercible to one. |
replacement |
A single string. |
str_replace_na(c(NA, "abc", "def"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.