Description Usage Arguments Value
Calculate power
1 2 3 | calc.power(prior, prob.range = c(0.5, 0.9), length = 20,
n.binom.control = 30, n.binom.treatment = n.binom.control,
treatment.difference = 0.1, level = 0.95, sig.mat, mc.cores = 1)
|
prior |
Prior to calculate posterior |
prob.range |
Range of values to calculate over |
length |
Number of values to calculate for |
n.binom.control |
Number of patients in new trial's contral arm |
n.binom.treatment |
Number of patients in new trial's treatment arm |
treatment.difference |
Predefined treatment difference |
level |
Significance level for calculation of sig.mat |
sig.mat |
Precalculated significance matrix (See sig.matrix) |
mc.cores |
Number of cores for parallel |
Vector or power values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.