tof_find_emd: Find the earth-mover's distance between two numeric vectors

tof_find_emdR Documentation

Find the earth-mover's distance between two numeric vectors

Description

Find the earth-mover's distance between two numeric vectors

Usage

tof_find_emd(vec_1, vec_2, num_bins = 100)

Arguments

vec_1

A numeric vector.

vec_2

A numeric vector.

num_bins

An integer number of bins to use when performing kernel density estimation on the two vectors. Defaults to 100.

Value

A double (of length 1) representing the EMD between the two vectors.


keyes-timothy/tidytof documentation built on May 7, 2024, 12:33 p.m.