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

.sits_raster_data_split {sits} | R Documentation

## 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.

### Author(s)

Gilberto Camara, gilberto.camara@inpe.br

[Package sits version 0.11.0 Index]