Split a data frame into blocks
df_to_blocks(DataFrame, blocks, byrow = TRUE)
a data frame to split
either a list or a vector indicating the blocks. If
blocks
is a list of vectors, then the length of each vector defines
the size of the blocks. If blocks
is a vector, then each element
represents the size of the blocks.
logical. If TRUE
(the default) the data frame
is split by rows, otherwise the data frame is split by columns
A list of data frames
Internal function.