zap_empty {haven} | 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)