powered by
Convert empty strings into missing values.
zap_empty(x)
A character vector
A character vector with empty strings replaced by missing values.
Other zappers: zap_formats(), zap_labels(), zap_label(), zap_widths()
zap_formats()
zap_labels()
zap_label()
zap_widths()
# NOT RUN { x <- c("a", "", "c") zap_empty(x) # }
Run the code above in your browser using DataLab