Description Usage Arguments Value Examples
Create a list of indices to split up a vector n
into chunks with a length of at most maxn
.
1 | splitIdx(n, maxn = 1000)
|
n |
Length of the vector to be split up. |
maxn |
The maximum size (number of records) of each chunk. |
A list, each element containing a vector of lenngth two giving the start and end indices for a chunk.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.