I’m happy to have improved some R code today using group_split
, replacing my prior method of cycling through a data frame to build several new subsets. I’m not sure it’s more efficient given the size of the data set, but it sure reads more nicely.
I’m happy to have improved some R code today using group_split
, replacing my prior method of cycling through a data frame to build several new subsets. I’m not sure it’s more efficient given the size of the data set, but it sure reads more nicely.