Description Usage Arguments Value

Compute the Wasserstein distance between to finite distributions.

1 | ```
wassDist(a, b, distMat, p = 1)
``` |

`a, b` |
Vectors representing probability distributions. |

`distMat` |
Cost matrix. |

`p` |
cost exponent. |

The Wasserstein distance.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.