Learn R Programming

sits (version 0.13.1)

.sits_raster_data_split: Split a data.table or a matrix for parallel processing

Description

This function splits a data.table into a list of chunks for parallel processing.

Usage

.sits_raster_data_split(data, ncores)

Arguments

data

Data (data.table or matrix).

ncores

Number of cores for processing.

Value

List of pairs of positions (first row, last row) to be assigned to each core.