power | R Documentation |
Performs a power analysis for a brada
object.
power(brada_object, p_true, nsim=100, cores=2)
brada_object |
An object of class |
p_true |
the true response probability used for the power analysis |
nsim |
the number of Monte Carlo simulation, defaults to 100. |
cores |
CPU cores used for computation. Defaults to 2. |
Returns an object of class brada
.
Riko Kelter
design = brada(Nmax = 30, batchsize = 5, nInit = 10, p_true = 0.2 , p0 = 0.2, p1 = 0.2, nsim = 1000, a0 = 1, b0 = 1, theta_T = 0.90, theta_L = 0.1, theta_U = 1, method = "PP", cores = 1) design_power = power(design, p_true = 0.4, nsim = 1000) plot(design_power)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.