Copy of the aggregate.Matrix function from the Matrix.utils package, since this is off CRAN and does not seem to be maintained anymore

fast_aggregate(x, groupings = NULL, form = NULL, fun = "sum", ...)

Arguments

x

x

groupings

groupings

form

form

fun

fun

...

other parameters

Value

aggregated matrix