Use this tag for questions relating to functions from the dplyr package, such as group_by, summarize, filter, and select.


Purrr enhances R’s functional programming toolkit by providing a complete and consistent set of tools for working with functions and vectors, such as map() and reduce().


Quality Example
More compact

"With library purrr you can have a prettier more compact form see soto s answer for an even more compact one with dplyr"

from question "Combining columns, update columns based on other df, fill NAs"

Better regular

"Note that while you could use purrr for the job it s not particularly better suited than regular dplyr"

from question "Purrr-Fection: In Search of An Elegant Solution to Conditional Data Frame Operations Leveraging Purrr"

Back to Home
Data comes from Stack Exchange with CC-BY-SA-3.0