zap_empty | R Documentation |
Convert empty strings into missing values
zap_empty(x)
x |
A character vector |
A character vector with empty strings replaced by missing values.
Other zappers:
zap_formats()
,
zap_labels()
,
zap_label()
,
zap_widths()
x <- c("a", "", "c")
zap_empty(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.