Usage
n.fdr (ave.pow, fdr, pow.func, eff.size, null.effect, lam = 0.95, eps = 1e-04, n0 = 5, n1 = 500, tol = 1e-06, ...)
Arguments
ave.pow
required average power (scalar)
pow.func
name of R function that computes statistical power
eff.size
effect size vector
null.effect
Value of effect size that indicates null
lam
p-value at which to evaluate ensemble PDF
eps
epsilon for numerical differentiation
n0
smallest sample size to be considered for bisection
n1
maximum sample size to be considered for bisection
tol
tolerance for solving for alpha in iterations
...
additional agruments for the functions