Description Usage Arguments Value See Also Examples

Define the binary indicator function to check whether the failure probability satisfies the lower level reliability requirement (for binomial RDT).

1 | ```
bIndicator(pi, R)
``` |

`pi` |
Failure probability. |

`R` |
Lower Level reliability requirement. |

0 – No; 1 – Yes.

`bcore`

for getting the core probability of passting the test;
`boptimal_n`

for getting the optimal test sample size;
`bconsumerrisk`

for getting the consumer's risk;

1 2 | ```
bIndicator(pi = 0.05, R = 0.9)
bIndicator(pi = 0.2, R = 0.9)
``` |

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.