bcore: Probability Core for Binomial RDT

Description Usage Arguments Value See Also Examples

View source: R/bcore.R

Description

Define the summed core function inside of the integration which gets the probability of passing the test given specific failure probabilities (for binomial RDT).

Usage

1
bcore(n, c, pi)

Arguments

n

RDT sample size.

c

Maximum allowable failures.

pi

Failure probability.

Value

Core probability of passing the test given specific failure probabilities.

See Also

boptimal_n for getting the optimal test sample size; bconsumerrisk for getting the consumer's risk; bIndicator for getting the binary indicator;

Examples

1
bcore(n = 10, c = 2, pi = 0.2)

BRDT documentation built on July 1, 2020, 9:35 p.m.