Description Usage Arguments Value Examples
Convert empty string values "" to NA
1 | empty_to_na(input)
|
input |
Text field |
Text field
1 2 3 4 | load(system.file("extdata", "string_vector.rda", package = "econmodme"))
empty_to_na(string_vector)
## Not run: df %>% mutate_if(is.character, funs(ifelse(. == "", NA, .)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.