Convert empty strings into missing values.
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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.