.check_first_batch | R Documentation |
This function checks if the first batch size is greater than or equal to the number of treatment arms.
.check_first_batch(batch_sizes, ys)
batch_sizes |
A numeric vector specifying batch sizes. |
ys |
A matrix of counterfactual conditions. |
Returns NULL if the first batch size is valid; otherwise, throws an error.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.