replace_blank: Replace blank character strings with a default value

replace_blankR Documentation

Replace blank character strings with a default value

Description

Replace blank character strings with a default value

Usage

replace_blank(x, value = NA)

Arguments

x

vector containing ""s

value

replacement value

Examples

x <- c("foo", "", "bar")
replace_blank(x)
replace_blank(x, value = "-8888")


BAAQMD/strtools documentation built on Nov. 23, 2023, 5:52 a.m.