zap_empty: Convert empty strings into missing values.

Description Usage Arguments Value See Also Examples

View source: R/zap_empty.R

Description

Convert empty strings into missing values.

Usage

1

Arguments

x

A character vector

Value

A character vector with empty strings replaced by missing values.

See Also

Other zappers: zap_formats, zap_labels, zap_label, zap_widths

Examples

1
2
x <- c("a", "", "c")
zap_empty(x)

hadley/haven documentation built on Aug. 29, 2018, 2:18 a.m.