View source: R/BayesianPredictiveFutility.R
combGen | R Documentation |
A function for generating outcome combinations for calculations using analytic form
combGen(stages, currStage, sizes, sizesCum, reqCum, values)
stages |
total number of stages to generate combinations for |
currStage |
value for handling depth of recursion |
sizes |
a vector of sample sizes for the stages |
sizesCum |
a vector of cumulative sample sizes for the stages |
reqCum |
a vector with the required cumulative counts for successful trial outcome |
values |
a list for recursively passing on combinations vector for storing in global list |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.