Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

stri_na2empty

Replace NAs with Empty Strings


Description

This function replaces all missing values with empty strings. See stri_replace_na for a generalization.

Usage

stri_na2empty(x)

Arguments

x

a character vector

Value

Returns a character vector.

See Also

Examples

stri_na2empty(c('a', NA, '', 'b'))

stringi

Character String Processing Facilities

v1.6.1
file LICENSE
Authors
Marek Gagolewski [aut, cre, cph] (<https://orcid.org/0000-0003-0637-6028>), Bartek Tartanus [ctb], and others (stringi source code); IBM, Unicode, Inc. and others (ICU4C source code, Unicode Character Database)
Initial release
2021-05-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.