Split a data frame or matrix into blocks of the same size (= data frames of matrices with the same number of rows)
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)