View source: R/splitSeqIntoBlocks.R
splitSeqIntoBlocks | R Documentation |
Splits a vector into groups based on the size of one element and a size limit.
splitSeqIntoBlocks(t, size1, size, blocks = 1)
t |
is a vector |
size1 |
the size of each element. |
size |
the maximum size each block. |
blocks |
(optional) if the number of blocks is lower than 'blocks', distribute evenly. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.