splitN | R Documentation |
Idea from here: https://stackoverflow.com/questions/7060272/split-up-a-dataframe-by-number-of-rows
splitN(x, n, row.names = FALSE)
x |
the dataframe |
n |
the number of rows to keep in each chunk |
A list of equal-sized dataframes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.