Compute Wasserstein Barycenters, Geodesics, PCA and Distances

Includes a variety of methods to compute objects related to the 'Wasserstein distance' (also known as 'Kantorovich distance' or 'Earth-Mover distance'). The main effort of this package is to allow for computations of 'Wasserstein barycenter' using regularised, unregularised and stochastic methods. It also provides convenient wrappers to call the 'transport' package with more general inputs. Handy visual tools are provided to showcase, barycenters, animations of optimal transport geodesics and animations of principal components in the 'Wasserstein space'.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.1 by Florian Heinemann, 6 months ago

Browse source code at

Authors: Florian Heinemann [aut, cre] , Nicholas Bonneel [ctb]

Documentation:   PDF Manual  

GPL-3 license

Imports Rcpp, transport, RSpectra, expm, plot3D, imager, grDevices, stats, graphics, lpSolve

Suggests magick, mvtnorm, Rsymphony

Linking to RcppArmadillo, Rcpp

See at CRAN