Filter a vector

vec_filter(.x, .f = vec_all_true)

Arguments

.x

A vector.

.f

A single predicate function or a logical vector of the same length as .x.

Value

The vector .x with (possibly) some entries deleted.