Learn R Programming

⚠️There's a newer version (0.15-4) of this package.Take me there.

transport (version 0.12-2)

Computation of Optimal Transport Plans and Wasserstein Distances

Description

Solve optimal transport problems. Compute Wasserstein distances (a.k.a. Kantorovitch, Fortet--Mourier, Mallows, Earth Mover's, or minimal L_p distances), return the corresponding transference plans, and display them graphically. Objects that can be compared include grey-scale images, (weighted) point patterns, and mass vectors.

Copy Link

Version

Install

install.packages('transport')

Monthly Downloads

1,841

Version

0.12-2

License

GPL (>= 2)

Maintainer

Dominic Schuhmacher

Last Published

March 11th, 2020

Functions in transport (0.12-2)

plot_apollonius

Plot Apollonius Diagram
power_diagram

Compute the Power Diagram of Weighted Sites in 2-Dimensional Space
transport-internal

Internal Functions in Package ‘transport’
transport-package

Optimal Transport in Various Forms
pp-object

Class of (Unweighted) Point Patterns
starting solutions

Compute starting solution for the transportation problem
subwasserstein

Approximate Computation of Wasserstein Distances via Subsampling.
trcontrol

Set the Control Parameters Used by transport.
semidiscrete1

Compute Semidiscrete Optimal Transport for Euclidean Distance Cost
shielding

Compute Optimal Transport (Cost/Plan) Using the Multiscale Shielding Method
aha

Solve Transportation Problem by Aurenhammer--Hoffmann--Aronov Method
all.equal (transport objects)

Methods for Judging Near Equality of Objects of Class pgrid, pp or wpp
pgrid-object

Class of Pixel Grids
compatible

Test whether Two Objects are Compatible
methods

Print and Summary Methods for Objects of Class pgrid, pp and wpp
pgrid

Constructor for the pgrid Class
ret_message

Return Text Strings for lbfgs Return Codes
wasserstein

Compute the Wasserstein Distance Between Two Objects
transport_track

Create a Dynamic Visualization of a Transference Plan Between Two pgrids
random

Images to Illustrate the Use of transport.pgrid
wpp

Constructor for the wpp Class
pp

Constructor for the pp Class
semidiscrete

Find Optimal Transport Partition Between pgrid and wpp.
transport

Find Optimal Transport Plan Between Two Objects
wasserstein1d

Compute the Wasserstein Distance Between Two Univariate Samples
wpp-object

Class of Weighted Point Patterns
plot

Methods for Plotting Objects of Class pgrid, pp and wpp