.check_first_batch {banditsCI} | R Documentation |
Check First Batch Validity
Description
This function checks if the first batch size is greater than or equal to the number of treatment arms.
Usage
.check_first_batch(batch_sizes, ys)
Arguments
batch_sizes |
A numeric vector specifying batch sizes. |
ys |
A matrix of counterfactual conditions. |
Value
Returns NULL if the first batch size is valid; otherwise, throws an error.
[Package banditsCI version 1.0.0 Index]