bcost_RDT: Binomial RDT Cost

Description Usage Arguments Value See Also Examples

View source: R/bcost_RDT.R

Description

Define the cost function of RDT, mainly determined by the test sample size (for binomial RDT)

Usage

1
bcost_RDT(Cf, Cv, n)

Arguments

Cf

Fixed costs

Cv

Variable costs.

n

Optimal test sample size

Value

Binomial RDT cost

See Also

bcost_RG, bcost_WS, bcost_expected

Examples

1
2
3
#the n value can be the minimum test sample size obtained from \code{\link{boptimal_n}}.
n_optimal <- 20
bcost_RDT(Cf = 0, Cv = 10, n = n_optimal);

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