Description Usage Arguments Value Examples
View source: R/replace_empty.R
Convert empty strings into missing values.
1 |
x |
A character vector |
A character vector with empty strings replaced by missing values.
1 2 | x <- c("a", "", "c")
replace_empty(x)
|
[1] "a" NA "c"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.