splitIntoFixSizedBlocks | R Documentation |
Split a data frame or a matrix into blocks of the same size, i.e. data frames or matrices with the same number of rows (except the last one that is shorter unless the total number of rows is a multiple of the number of rows per block).
splitIntoFixSizedBlocks(data, blocksize)
data |
data frame or matrix |
blocksize |
number of rows in each block into which |
list of data frames (if data
is a data frame) or list of
matrices (if data
is a matrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.