.check_A {banditsCI} | R Documentation |
This function checks if the number of observations is greater than 1, which is required for conducting inference.
.check_A(A)
A |
An integer representing the number of observations. |
Returns NULL if the number of observations is valid; otherwise, throws an error.