split_into_equal_parts | R Documentation |
The final part may have a different number of rows than all other parts because of the length of the input cannot always be divided equality.
split_into_equal_parts(df, n_parts = 10)
df |
Data frame or tibble to be split. |
n_parts |
Number of parts/pieces to split |
A named list with the length of n_parts
.
Stuart K. Grange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.