hemd {sad}R Documentation

histogram emd

Description

Earth Mover's Distance between two histograms, given as vectors

Usage

hemd(h1, h2, mids = NULL)

Arguments

h1, h2

vectors of non-negtaive numbers representing two histograms

mids

the bin mids corresponding to the histograms. Can also be given via the names of h1.

Value

the value of the EMD


[Package sad version 0.1.3 Index]