Replace Blanks with Specified Value
replace_blank.Rd
Replace blanks with specified value.
Value
If
data
is a vector,replace_blank()
returns a vector of the same class asdata
(only blanks in character vectors are modified).If
data
is a list,replace_blank()
will recurse into the list (as necessary) and replace all blank values in character/list elements but will skip other internal components (e.g. data.frames, matrices, etc).