Description Usage Arguments Examples

View source: R/kantorovich_glpk.R

Kantorovich distance using the `Rglpk`

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; if |

`stop_if_fail` |
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_glpk(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.