tidyverse / purrr

A functional programming toolkit for R
https://purrr.tidyverse.org/
Other
1.27k stars 271 forks source link

Add example to map_dfr()/map_dfc() #1140

Closed maike2011 closed 3 weeks ago

maike2011 commented 4 weeks ago

Example to demonstrate an edge case, where map_dfr() works, but can not be replaced by list_rbind(). Fixes #1074

hadley commented 3 weeks ago

Thanks for working on this! While looking at this with fresh eyes, I realised that an even simpler approach is to use modify().