Running aggregate on wide matrices takes loooong; use nested apply or data tables instead !

R-bloggers 2025-04-04

Summary:

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 ...
Continue reading: Running aggregate on wide matrices takes loooong; use nested apply or data tables instead !

Link:

https://www.r-bloggers.com/2025/04/running-aggregate-on-wide-matrices-takes-loooong-use-nested-apply-or-data-tables-instead/

From feeds:

Statistics and Visualization ยป R-bloggers

Tags:

bloggers

Authors:

Di Cook

Date tagged:

04/04/2025, 14:44

Date published:

04/04/2025, 06:49