mni.rows.per.node: Configure system for parallel processing of dataset

Description Usage Arguments Value

View source: R/parallelize.R

Description

Computes the number of rows that each individual process in a paralleized run of mni.vertex.statistics will have to work with.

Usage

1
mni.rows.per.node(n.rows, n.nodes)

Arguments

n.rows

Number of rows in the dataset.

n.nodes

Number of nodes to parallelize across.

Value

Returns a matrix with the same number of columns as number of nodes given in the n.nodes argument and two columns, the first column corresponding to the lower index and the second to the higher index into the datatable that is to be used by each process.


BIC-MNI/mni.cortical.statistics documentation built on May 5, 2019, 10:25 a.m.