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
• keep() and discard() filter lists and vectors using predicate functions, providing a more expressive alternative to bracket subsetting when working with complex filtering logic
The KISS principle—‘Keep It Simple, Stupid’—originated not in software but in aerospace. Kelly Johnson, the legendary engineer behind Lockheed’s Skunk Works, demanded that aircraft be designed so a…
Read more →