Description Usage Arguments Value See Also Examples
View source: R/bcost_expected.R
Define the cost function of expected overall cost including the RDT cost, expected reliabiltiy growth (RG) cost and expected warranty services (WS) cost (for binomial RDT design).
1 | bcost_expected(Cf, Cv, n, G, Cw, N, c, pi)
|
Cf |
Fixed costs of RDT |
Cv |
Variable unit costs of RDT |
n |
RDT sample size |
G |
Reliabilty growth cost |
Cw |
Average cost per warranty claim |
N |
Sales volume |
c |
Maximum allowable failures |
pi |
Failure probability |
Overall expected cost
1 2 | pi <- pi_MCSim_beta(M = 1000, seed = 10, a = 1, b = 1)
bcost_expected(Cf = 10, Cv = 10, n = 10, G = 100000, Cw = 10, N = 1, c = 1, pi = pi)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.