Description Usage Arguments Value Examples

Define the acceptance probability function which gets the probability of passing the test (for binomial RDT).

1 | ```
bacceptprob(n, c, pi)
``` |

`n` |
RDT sample size. |

`c` |
Maximum allowable failures. |

`pi` |
Failure probability. |

Acceptance probability

1 2 | ```
pi <- pi_MCSim_beta(M = 5000, seed = 10, a = 1, b = 1)
bacceptprob(n = 10, c = 2, pi = pi);
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.