split_nrow | R Documentation |
Function to split a data frames and vectors into lists with n elements based on number of rows or length.
split_nrow(df, rows)
df |
Data frame or vector to be split. |
rows |
Number of rows for |
List with n elements.
Stuart K. Grange
## Not run:
# Split a large data frame into chunks
data_large_list <- split_nrow(data_large, 500000)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.