View source: R/overlapping_batches.R
pick_batch_sizes | R Documentation |
Suggest an optimal batch size value for use in
map_overlapping_batches
pick_batch_sizes(input.seq, size = 50, overlap = 15, around = 5)
input.seq |
an object of class |
size |
The center size around which an optimum is to be searched |
overlap |
The desired overlap between batches |
around |
The range around the center which is maximally allowed to be searched. |
An integer value for the size which most evenly divides batches. In case of ties, bigger batch sizes are preferred.
Bastian Schiffthaler, bastian.schiffthaler@umu.se
map_overlapping_batches
LG <- structure(list(seq.num = seq(1,800)), class = "sequence") batchsize <- pick_batch_sizes(LG, 50, 19)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.