chunk_rows {ampir} | R Documentation |
Determine row breakpoints for dividing a dataset into chunks for parallel processing
chunk_rows(nrows, n_cores)
nrows |
The number of rows in the dataset to be chunked |
n_cores |
The number of cores that will be used for parallel processing |
A list of integer vectors consisting of the rows in each chunk