| ithChunk {episcan} | R Documentation |
index set for idx-th chunk of size chunk for n elements
Description
For proper use of this function it will return the set of variant indices
corresponding to the idx-th chunk of size chunk in n variants, taking
care of the case that the last chunk might have less than n elements.
If used with an idx-value outside the possible chunks (i.e., negative or
larger than ceiling(n/chunk)) an empty vector (numeric(0)) is returned.
Usage
ithChunk(idx, n, chunk = 1000)
Arguments
idx |
chunk index (which chunk, first is 1) |
n |
total number of variants |
chunk |
desired chunksize |
Value
index range into variants for chunk idx (see details)
[Package episcan version 0.0.1 Index]