removeEmpty: Remove Empty Elements from Vector

View source: R/removeEmpty.R

removeEmptyR Documentation

Remove Empty Elements from Vector

Description

Remove Empty Elements from Vector

Usage

removeEmpty(x)

Arguments

x

vector

Value

x with elements for which isNaOrEmpty is TRUE removed

Examples

removeEmpty(c(1, NA, 3))
removeEmpty(c("a", "", "b", NA, "c", " ", "d"))

KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.