filter: Return only the values of a list that meet a certain...

Description Usage Arguments

Description

Return only the values of a list that meet a certain predicate.

Usage

1
filter(xs, f)

Arguments

xs

list. The list to filter.

f

function. The predicate function to apply. It should return TRUE or FALSE for each element of the list. This can also be arguments to 'dplyr::filter'.


peterhurford/funtools documentation built on May 25, 2019, 1:50 a.m.