remove_from: Removes values from a vector

Description Usage Arguments Value Functions

Description

The remove_ functions are convenient wrappers to help remove specific values from a vector. remove_from will remove single or multiple values from a given vector. In addition the remove_null and remove_na functions will remove the corresponding missing values.

Usage

1
2
3
4
5
remove_from(vec, value)

remove_null(vec)

remove_na(vec)

Arguments

vec

the vector to remove values from

value

the value to remove. The value can either be a single value or a vector of values

Value

the original vector with the values removed

Functions


mattmills49/helpers documentation built on May 21, 2019, 1:25 p.m.