Discard

R

R purrr - keep() and discard()

keep() and discard() filter lists and vectors using predicate functions, providing a more expressive alternative to bracket subsetting when working with complex filtering logic

Read more →