NA
"NA"
R/strReplaceNa.R
strReplaceNa.Rd
Replace NA with "NA"
strReplaceNa(x)
character.
character
Character vector with NA values converted to "NA".
Updated 2023-09-21.
stringi::stri_replace_na.
stringr::str_replace_na.
strReplaceNa(c("a", "b", NA)) #> [1] "a" "b" "NA"