Description Usage Arguments Value
wass.1()
takes in two numeric vectors and returns a single numeric distance metric. The
metric is equivalent to the sum of the absolute difference in area between the empirical distribution functions
of the two samples. This total area is found by calculating left Riemann sums.
1 | wass.1(x, y)
|
x |
the first sample |
y |
the second sample |
the first Wasserstein distance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.