empty_to_na | R Documentation |
Convert empty and null strings to NA
empty_to_na(x)
x |
A character string |
NA
x <- "this is text" empty_to_na(x) y <- "" empty_to_na(y) z <- NULL empty_to_na(z)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.