Description Usage Arguments Value Examples
Converts all NA's in a character vector to empty values
1 | na.to.empty(x)
|
x |
A character vector |
A character vector contain all of non NA elements of x
1 2 3 4 5 6 | ex1 = LETTERS[1:10]
ex2 = c(NA, letters, NA)
ex3 = c(NA, NA, NA, NA, "A")
na.to.empty(ex1)
na.to.empty(ex2)
na.to.empty(ex3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.