It's fairly easy to split a data.frame by rows depending on a grouping factor. But how do I split by columns and possibly apply a function? by rows
It's fairly easy to split a data.frame by rows depending on a grouping factor. But how do I split by columns and possibly apply a function? by rows