power_cont {R2sample} | R Documentation |
Find the power of various discrete tests via permutation.
Description
Find the power of various discrete tests via permutation.
Usage
power_cont(
rxy,
TS,
typeTS,
TSextra,
alpha = 0.05,
B = as.numeric(c(1000, 1000)),
xparam = 0,
yparam = 0
)
Arguments
rxy |
a function that generates x and y data. |
TS |
routine to calculate test statistics for non-chi-square tests |
typeTS |
indicator for type of test statistics |
TSextra |
additional info passed to TS, if necessary |
alpha |
A numeric constant |
B |
=c(1000, 1000) number of simulation runs for power and for p values |
xparam |
arguments for r1. |
yparam |
arguments for r2. |
Value
A numeric matrix of powers
[Package R2sample version 2.2.0 Index]