mni.rows.per.node {mni.cortical.statistics} | R Documentation |
Computes the number of rows that each individual process in a paralleized run of mni.vertex.statistics will have to work with.
mni.rows.per.node(n.rows, n.nodes)
n.rows |
Number of rows in the dataset. |
n.nodes |
Number of nodes to parallelize across. |
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.