The best place to start when exploring the
purrrpackage is the
mapfunction. The reader will notice that these functions are utilised in a very similar way to the
applyfamily of functions. The subtle difference is that the
purrrfunctions are consistent and the user can be assured of the output – as opposed to some cases when using for example
sapplyas I demonstrate later on.
My considered belief is, Always Be Purrring. H/T R-bloggers