Description Usage Arguments Value Author(s) Examples
Chunk a vector into parts given the number of chunks or the max size of a chunk
1 2 |
x |
vector to chunk |
n |
numeric, the number of chunks |
max.size |
numeric, the maximal size of a chunk |
balance.size |
logical, as equal as possible. Whether return balanced chunks. |
balance.order |
logical, whether to balance the elements. Force balance.size to be TRUE. given their original orders. |
list
Xiaobei Zhao
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.