chunk_rows: Determine row breakpoints for dividing a dataset into chunks for parallel processing
Description
Determine row breakpoints for dividing a dataset into chunks for parallel processing
Usage
chunk_rows(nrows, n_cores)
Arguments
nrows
The number of rows in the dataset to be chunked
n_cores
The number of cores that will be used for parallel processing
Value
A list of integer vectors consisting of the rows in each chunk