These quoting functions signal to scoped filtering verbs
(e.g. filter_if()
or filter_all()
) that a predicate expression
should be applied to all relevant variables. The all_vars()
variant takes the intersection of the predicate expressions with
&
while the any_vars()
variant takes the union with |
.
all_vars(expr) any_vars(expr)
expr | A predicate expression. This variable supports unquoting and will be evaluated in the context of the data frame. It should return a logical vector. This argument is automatically quoted and later
evaluated in the context of the data
frame. It supports unquoting. See
|
---|
vars()
for other quoting functions that you
can use with scoped verbs.