calc_power | R Documentation |
calculate power
calc_power(n, p1, p2, shift, sel, CI, alpha = 0.05, nsim = 100)
n |
number of something |
p1 |
pr(event) in subgroup 1 |
p2 |
pr(event) in subgroup 2 |
shift |
scaled distance between means |
sel |
column to select |
CI |
generate a CI (?) |
alpha |
default significance level (0.05) |
nsim |
number of simulations (100) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.