Nicolas Attalides on using purrr:
The best place to start when exploring the
purrr
package is themap
function. The reader will notice that these functions are utilised in a very similar way to theapply
family of functions. The subtle difference is that thepurrr
functions are consistent and the user can be assured of the output – as opposed to some cases when using for examplesapply
as I demonstrate later on.
My considered belief is, Always Be Purrring. H/T R-bloggers