Description Usage Arguments Value
Permutation Procedure that calculates the squared 2-Wasserstein distance for random shuffles of two input distributions and returns them as a vector.
1 | .wassPermProcedure(x, y, permnum)
|
x |
numeric vector representing distribution A |
y |
numeric vector representing distribution B |
permnum |
integer interpreted as the number of permutations to be performed |
vector with squared 2-Wasserstein distances computed on random shuffles of the two input vectors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.