chunk_rows: Determine row breakpoints for dividing a dataset into chunks...

Description Usage Arguments Value

View source: R/chunk_rows.R

Description

Determine row breakpoints for dividing a dataset into chunks for parallel processing

Usage

1
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


ampir documentation built on June 29, 2021, 9:09 a.m.