bIndicator: Binary Indicator for Binomial RDT

Description Usage Arguments Value See Also Examples

View source: R/bIndicator.R

Description

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

Usage

1

Arguments

pi

Failure probability.

R

Lower Level reliability requirement.

Value

0 – No; 1 – Yes.

See Also

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;

Other Binomial RDT functions: bconsumerrisk(), bcore(), boptimal_n()

Examples

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

MSRDT documentation built on July 2, 2020, 2:13 a.m.