strReplaceNa: Replace 'NA' with '"NA"'

View source: R/strReplaceNa.R

strReplaceNaR Documentation

Replace NA with "NA"

Description

Replace NA with "NA"

Usage

strReplaceNa(x)

Arguments

x

character.

Value

character Character vector with NA values converted to "NA".

Note

Updated 2023-09-21.

See Also

  • stringi::stri_replace_na.

  • stringr::str_replace_na.

Examples

strReplaceNa(c("a", "b", NA))

acidgenomics/acidbase documentation built on Jan. 26, 2024, 4:26 p.m.