View source: R/designHelpers.R
| computePowerBootstrapper | R Documentation |
Helper function to compute uncertainty regarding nPlan estimates
computePowerBootstrapper(samplingResult, parameter, nPlan, nBoot)
samplingResult |
output from sampling functions such as computeNPlanSaviZ and computeNPlanSaviT |
parameter |
numeric > 0, the savi test defining parameter. |
nPlan |
vector of max length 2 representing the planned sample sizes. |
nBoot |
integer > 0 representing the number of bootstrap samples to estimate the uncertainty of various estimates. |
list with bootstrap objects
samplingResult <- sampleStoppingTimesSaviT(0.7, nSim=10, nMax=20)
result <- computeNPlanBootstrapper(samplingResult, 0.7, 0.2, 20, nBoot=1e2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.