Description Usage Arguments Details Value
These are simple functions for filtering data.
1 2 3 | keep_if(data, predicate)
drop_if_has_name(data, names)
|
data |
a list to filter |
predicate |
a predicate function for filtering items. Values that return
|
names |
names to control filtering. |
keep_if()
is base::Filter()
with its arguments reversed.
the items where the predicate function is TRUE
or items that match
the name selection.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.