cacheBlockPermute1 | R Documentation |
Generates a block permutation distribution of V
statistic.
Precomputes distances and some indexing arrays to quickly
generate samples from the block permutation distribution of the V
statistic of \mathbf{X}
.
cacheBlockPermute1(X, block_labels, nruns, p)
X |
The binary or real matrix on which to perform permutation resampling |
block_labels |
Length |
nruns |
The resampling number (use at least 1000) |
p |
The power |
This version is with block labels specified.
Dependencies: buildForward, buildReverse, cachePermute, getHammingDistance, getLpDistance
A vector of resampled values of the V
statistic
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.