View source: R/split_by_ncol.R
This function splits a dataframe into a list of dataframes with at most n columns. Especially useful when working with large dataframes.
1 | split_by_ncol(x, n = 25)
|
x |
should be a dataframe. Right now I'm not checking it, but will be fixed in the future. |
n |
maximum number of columns in the smaller dataframes. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.