
Running aggregate on wide matrices takes loooong; use nested apply or data
tables instead !
-
The aggregate function can be very useful in R, allowing one to run a
function (e.g. mean) within groups of rows, in each column in a
matrix/data-frame an...
1 day ago