splitN {actel} | R Documentation |
Split a dataframe every nth row
Description
Idea from here: https://stackoverflow.com/questions/7060272/split-up-a-dataframe-by-number-of-rows
Usage
splitN(x, n, row.names = FALSE)
Arguments
x |
the dataframe |
n |
the number of rows to keep in each chunk |
Value
A list of equal-sized dataframes
[Package actel version 1.3.0 Index]