chunk_rows {ampir}R Documentation

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


[Package ampir version 1.1.0 Index]