A function to calculate the total cost of the multi-stage design. It is used in the optim.two.stage.appr() as a sub-function.
1 | calculate.cost(n2, n3, p1, p2)
|
n2 |
the stage II sample size |
n3 |
the stage III sample size |
p1 |
the number of proteins selected from stage I |
p2 |
the number of proteins selected from stage II |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.