chunk | R Documentation |
Partition vector into blocks (possibly overlapping)
chunk(x, chunkSize, overlap = 0, type = "C++")
x |
Input vector |
chunkSize |
Integer, size of each block. |
overlap |
Integer, number of overlapping data points. |
type |
Toggle either the R or the C++ implementation. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.