edistances: Extremal distances

Description Usage Arguments Value Note

View source: R/kantorovich.R

Description

Compute the distances at the extreme joinings.

Usage

1
edistances(mu, nu, dist = NULL, ...)

Arguments

mu

(row margins) probability measure in numeric or bigq/character mode

nu

(column margins) probability measure in numeric or bigq/character mode

dist

function or matrix, the distance to be minimized on average. If NULL, the 0-1 distance is used.

...

arguments passed to dist

Value

A list with two components: the extreme joinings in a list and the distances in a vector.

Note

This function, called by kantorovich, is rather for internal purpose.


kantorovich documentation built on Oct. 29, 2020, 1:06 a.m.