Description Usage Arguments Details Value Author(s) See Also Examples
bbatch
calculates batch sizes so that they have rather balanced sizes than very different sizes
1 | bbatch(N, B)
|
N |
total size |
B |
desired batch size |
Tries to have rb==0
or rb
as close to b
as possible while guaranteing that rb < b && (b - rb) <= min(nb, b)
a list with components
b |
the batch size |
nb |
the number of batches |
rb |
the size of the rest |
Jens Oehlschlägel
1 | bbatch(100, 24)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.