Description Usage Arguments Examples

View source: R/kantorovich_lpsolve.R

Kantorovich distance using the `lpSolve`

package

1 2 |

`mu` |
(row margins) probability measure in numeric mode |

`nu` |
(column margins) probability measure in numeric mode |

`dist` |
matrix, the distance to be minimized on average; if |

`solution` |
logical, to use only if |

`lp.object` |
logical, if |

`...` |
arguments passed to |

1 2 3 | ```
mu <- c(1/7,2/7,4/7)
nu <- c(1/4,1/4,1/2)
kantorovich_lp(mu, nu)
``` |

stla/kantorovich documentation built on May 26, 2017, 9 p.m.

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.