wasserstein distance between binned samples

wasserstein(x, y)

Arguments

x

numeric vector of density from first distribution

y

numeric vector of density from second distribution

...

unused

Value

distance value based on max difference