Examples of fast grouped row-wise operations in R (no C, C++, data.table, or dplyr used).

Timing example here.

Currently implements:

Todo: