Convert empty strings into missing values
See also
Other zappers:
zap_formats()
,
zap_labels()
,
zap_label()
,
zap_widths()
Examples
x <- c("a", "", "c")
zap_empty(x)
#> [1] "a" NA "c"
Convert empty strings into missing values
Other zappers:
zap_formats()
,
zap_labels()
,
zap_label()
,
zap_widths()
x <- c("a", "", "c")
zap_empty(x)
#> [1] "a" NA "c"