.wassPermProcedure | R Documentation |
Permutation procedure that calculates the squared 2-Wasserstein distances for
random shuffles of two input samples representing two conditions A
and B
, respectively (i.e. the elements of the pooled sample vector are randomly assigned to either condition A
or condition B
, where the sample sizes are as in the original samples).
.wassPermProcedure(x, y, permnum)
x |
sample (vector) representing the distribution of
condition |
y |
sample (vector) representing the distribution of
condition |
permnum |
number of permutations to be performed |
Vector with squared 2-Wasserstein distances computed for random shuffles of the two input samples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.