powerR {R2sample} | R Documentation |
Find the power of two sample tests using Rcpp and parallel computing.
Description
Find the power of two sample tests using Rcpp and parallel computing.
Usage
powerR(
rxy,
xparam,
yparam,
TS,
typeTS,
TSextra,
alpha = 0.05,
B = 1000,
SuppressMessages,
maxProcessor
)
Arguments
rxy |
function to generate a list with data sets x, y and (optional) vals, weights |
xparam |
first argument passed to rxy |
yparam |
second argument passed to rxy |
TS |
test statistic |
typeTS |
which format has TS? |
TSextra |
list of items passed TS |
alpha |
=0.05, the level of the hypothesis test |
B |
= 1000 number of simulation runs |
SuppressMessages |
= FALSE print informative messages? |
maxProcessor |
maximum number of cores to use. If maxProcessor=1 no parallel computing is used. |
Value
A numeric vector of power values.
[Package R2sample version 4.1.0 Index]