Description Usage Arguments Value Functions
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.
1 2 3 4 5 | remove_from(vec, value)
remove_null(vec)
remove_na(vec)
|
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 |
the original vector with the values removed
remove_null
: Removes null values
remove_na
: Removes NA values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.