blocksum | R Documentation |
Compute the block-wise sum of a vector.
blocksum(r, c)
r |
An integer vector |
c |
The number of observations in each block |
The function returns the block sum of the vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.