hemd: histogram emd

Description Usage Arguments Value

View source: R/scores.R

Description

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

Usage

1
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


sad documentation built on Nov. 8, 2020, 4:25 p.m.

Related to hemd in sad...