Description Usage Arguments
View source: R/chunksum.R
Rolling Sum over distinct chunks
1
chunk.sum(v, n, na.rm = TRUE)
v
Numeric Vector
n
Size of chunk
na.rm
Remove NAs (default=TRUE)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.