dot-wassPermProcedure: .wassPermProcedure

Description Usage Arguments Value

Description

Permutation Procedure that calculates the squared 2-Wasserstein distance for random shuffles of two input distributions and returns them as a vector.

Usage

1
.wassPermProcedure(x, y, permnum)

Arguments

x

numeric vector representing distribution A

y

numeric vector representing distribution B

permnum

integer interpreted as the number of permutations to be performed

Value

vector with squared 2-Wasserstein distances computed on random shuffles of the two input vectors


waddR documentation built on Nov. 8, 2020, 8:32 p.m.