View source: R/shearwater-functions.R
mcChunk | R Documentation |
Little helper function to split the count objects into a smaller digestible chunks and run function FUN on each subset
mcChunk(FUN, X, split = 250, mc.cores = 1, ...)
FUN |
The function to call on each chunk |
X |
The object to be subsetted using [,i,] |
split |
The size of each chunk |
mc.cores |
The number of cores to use |
... |
Additional arguments passed to FUN |
The value of FUN
Experimental code, subject to changes
mg14
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.