Description Usage Arguments Value See Also Examples
Reject()
is the opposite of Filter.
Reject applies the negation of the unary predicate function .f to each
element of .x, coercing to logical if necessary, and returns the subset
of .x for which this gives true. Note that possible NA values are currently
always taken as false; control over NA handling may be added in the future.
1 | Reject(.x, .f)
|
.x |
a vector. |
.f |
a predicate function. |
.x filtered where .f applies
Other predicate functionals: All
;
Any
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.