bacceptprob {BRDT} | R Documentation |
Acceptance Probability for Binomial RDT
Description
Define the acceptance probability function which gets the probability of passing the test (for binomial RDT).
Usage
bacceptprob(n, c, pi)
Arguments
n |
RDT sample size. |
c |
Maximum allowable failures. |
pi |
Failure probability. |
Value
Acceptance probability
Examples
pi <- pi_MCSim_beta(M = 5000, seed = 10, a = 1, b = 1)
bacceptprob(n = 10, c = 2, pi = pi);
[Package BRDT version 0.1.0 Index]