
Earth Mover's Distance between two histograms, given as vectors
hemd(h1, h2, mids = NULL)
vectors of non-negtaive numbers representing two histograms
the bin mids corresponding to the histograms. Can also be given via the names of h1
.
the value of the EMD