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 and organize the results in an easy-to-read table. However, the function takes long to run for very ...
