Description Usage Arguments Value See Also Examples

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

1 | ```
bcost_RDT(Cf, Cv, n)
``` |

`Cf` |
Fixed costs |

`Cv` |
Variable costs. |

`n` |
Optimal test sample size |

Binomial RDT cost

`bcost_RG`

, `bcost_WS`

, `bcost_expected`

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);
``` |

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.