sge.split: Splits an object and returns a list containing those segments

Description Usage Arguments Details Value Author(s)

Description

This functions splits an object into a number of pieces as specified by ncl.

Usage

1
sge.split(x, ncl)

Arguments

x

Object to be split (only supports matrix, array, data.frame, list, and vector)

ncl

Number of segments that the object should be split into.

Details

This method is an internal helper method that is used by parApply to split the objects into segments that are distributed to nodes of an SGE cluster. This function relies on the splitIndices method from the snow package to determine how many rows each segment should have.

Value

List containing all split data segments.

Author(s)

Dan Bode


mcvaneede/Rsge documentation built on May 21, 2019, 12:44 p.m.