My prior post on tidyverse split-apply-combined ended with me favouring split + map_dfr
as a replacement for group_by + do
. In this post I look at some idioscrasies of the split function from Base R.
Benchmark
My prior post on tidyverse split-apply-combined ended with me favouring split + map_dfr
as a replacement for group_by + do
. In this post I benchmark the runtime of base R split()
.