Description Usage Arguments Details Value See Also
For all pre-set combinations of n, theta, xi and alpha, this function calculates a list of powCalc objects and saves the list.
1 |
n |
numeric vector containing possible range of sample sizes |
theta |
numeric vector containing possible range of effect sizes |
xi |
numeric vector containing possible range of standard deviations |
alpha |
numeric vector containing possible range of significance levels |
type |
string of value "two.sample", "one.sample", or "paired" |
save_path |
string inidicating where the function output should be saved |
Input parameters are optional. Defaults:
n <- seq(from = 5, to = 2000, by = 5)
theta <- seq(from = 1, to = 50, by = 1)
xi <- seq(from = 1, to = 80, by = 1)
alpha <- c(0.01, 0.025, 0.05)
save_path <- file.path("inst", "extdata", "calc_t_test.rds")
list of calculated powCalc objects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.