pow_cs | R Documentation |
calculate power several times
pow_cs(ns, p1, p2, shift, sel, CI, alpha = 0.05, nsim = 20)
ns |
numbers of somethings |
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 (20) |
a data.frame
pow_cs(ns=c(40,50), p1=.25, p2=.5, shift=15, sel='Bodyweight', CI=0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.