strip_value.Rd
Removes a specified value from a vector.
strip_value(x, value = NA)
A vector of values.
The value to remove (defaults to NA)
NA
A vector of values sans the one removed.
x <- c( 1, 2, NA, 3 ) print( strip_value(x) ) #> [1] 1 2 3 x <- c( 'Hello', '', 'world' ) print( strip_value(x, '') ) #> [1] "Hello" "world"