createBatchStatistics

fun createBatchStatistics(numToCreate: Int, theMinNumBatches: Int = BatchStatistic.MIN_NUM_BATCHES, theMinBatchSize: Int = BatchStatistic.MIN_NUM_OBS_PER_BATCH, theMinNumBatchesMultiple: Int = BatchStatistic.MAX_BATCH_MULTIPLE): List<BatchStatistic>

Can be used to create a list of BatchStatistic instances that are pre-configured based on the batch settings.

Parameters

theMinNumBatches

The minimum number of batches, must be >= 2

theMinBatchSize

The minimum number of observations per batch, must be >= 2

theMinNumBatchesMultiple

The maximum number of batches as a multiple of the minimum number of batches.

numToCreate

the number of statistics to create.