min_emd | R Documentation |
Calculates the minimum Earth Mover's Distance (EMD) between two discrete histograms. This is the minimum EMD between the two histograms across all possible offsets of histogram 1 against histogram 2.
min_emd(dhist1, dhist2, method = "optimise")
dhist1 |
A |
dhist2 |
A |
method |
The method to use to find the minimum EMD across all potential
offsets for each pair of histograms. Default is "optimise" to use
R's built-in |
Earth Mover's Distance between the two discrete histograms
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.