dot-check_first_batch: Check First Batch Validity

.check_first_batchR 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.


banditsCI documentation built on April 12, 2025, 1:42 a.m.