str_replace_na

0th

Percentile

Turn NA into "NA"

Turn NA into "NA"

Usage
str_replace_na(string, replacement = "NA")
Arguments
string

Input vector. Either a character vector, or something coercible to one.

replacement

A single string.

Aliases
  • str_replace_na
Examples
# NOT RUN {
str_replace_na(c(NA, "abc", "def"))
# }
Documentation reproduced from package stringr, version 1.4.0, License: GPL-2 | file LICENSE

Community examples

Looks like there are no examples yet.