blocksum: Compute the block-wise sum of a vector.

View source: R/RcppExports.R

blocksumR 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.


SIT documentation built on Oct. 16, 2024, 9:06 a.m.

Related to blocksum in SIT...