powered by
Divide a vector or array in consecutive fixed-sized blocks and sum the elements at each position in these blocks.
bsum(x, block_size = 1)
numerical vector or array, the object that is summed.
numerical scalar, the size of each block. Defaults to 1.
numerical vector.