perm_test_cpp {R2sample} | R Documentation |
run permutation test.
Description
run permutation test.
Usage
perm_test_cpp(
x,
y,
vals = 0,
nbins = as.integer(c(100, 10)),
B = 5000L,
doMethod = as.character(c("chi large", "chi small", "t test", "KS", "Kuiper", "CvM",
"AD", "LR", "ZA", "ZK", "ZC", "Wassp1"))
)
Arguments
x |
A numeric vector. |
y |
A numeric vector. |
vals |
A numeric vector. Indicates discrete data. |
nbins |
Two bin numbers for chi square test. |
B |
Number of simulation runs. |
doMethod |
A character vector of methods to include. |
Value
A list with test statistics and p values
[Package R2sample version 1.1.0 Index]