The idea is to implement all possible functions in C to directly operate on lists. To begin with, maybe:
Implementations should be for both row- and column-wise for lists/data.tables.
This'll enable us to:
DT[, rowwise(.SD, <functions>)]
DT[, colwise(.SD, <functions>)]
This will:
- overcome the current limitation of
lapply which makes it tedious to aggregate using multiple functions.
- provide both row- and col-wise operations for data.tables, where most common functions will be implemented and query optimised to use them automatically.
The idea is to implement all possible functions in C to directly operate on lists. To begin with, maybe:
Implementations should be for both row- and column-wise for lists/data.tables.
This'll enable us to:
This will:
lapplywhich makes it tedious to aggregate using multiple functions.