blocksum {SIT}R Documentation

Compute the block-wise sum of a vector.

Description

Compute the block-wise sum of a vector.

Usage

blocksum(r, c)

Arguments

r

An integer vector

c

The number of observations in each block

Value

The function returns the block sum of the vector.


[Package SIT version 0.1.0 Index]