Description Usage Arguments Details Value Author(s)
Uses a loess smoother to predict either the number of grid cells needed to achieve a given level of power or the expected power from a specific sample size based on rSPACE output.
1 |
folder |
rSPACE folder containing both simulation and analysis output for a scenario |
data |
Dataframe with previously loaded results |
CI |
Significance level (one-tailed test) |
pwr |
If specified, desired power |
n_grid |
If specified, number of grid cells used |
Data must be provided either by specifying a folder within which to look for a results file (sim_results.txt) and parameter list (Parameters.rdata) or by providing previously loaded results.
If multiple results files are found in folder
only the first will be used by default. To specify a specific results file, the full path for the results file can be used for folder
.
Depending on whether pwr
or n_grid
are specified, findPower
will return the opposite. If both pwr
and n_grid
, n_grid
will be ignored
Either the number of cells required to reach a given power or the power expected from a sample of a given number of cells.
Martha Ellis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.