powered by
Suggest an optimal batch size value for use in map.overlapping.batches
map.overlapping.batches
pick.batch.sizes(input.seq, size = 50, overlap = 15, around = 5)
an object of class sequence.
sequence
The center size around which an optimum is to be searched
The desired overlap between batches
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.
# NOT RUN { # } # NOT RUN { LG <- structure(list(seq.num = seq(1,800)), class = "sequence") batchsize <- pick.batch.sizes(LG, 50, 19) # } # NOT RUN { # }
Run the code above in your browser using DataLab