WSGeometry: Geometric Tools Based on Balanced/Unbalanced Optimal Transport

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'. It also includes tools to compute 'Kantorovich-Rubinstein' distances and barycenters.

Version: 1.2.1
Imports: Rcpp, transport, RSpectra, expm, plot3D, imager, grDevices, stats, graphics, lpSolve, Matrix
LinkingTo: RcppArmadillo, Rcpp
Suggests: magick, mvtnorm, Rsymphony
Published: 2021-12-14
Author: Florian Heinemann [aut, cre], Nicholas Bonneel [ctb]
Maintainer: Florian Heinemann <florian.heinemann at>
License: GPL-3
NeedsCompilation: yes
CRAN checks: WSGeometry results


Reference manual: WSGeometry.pdf


Package source: WSGeometry_1.2.1.tar.gz
Windows binaries: r-prerel:, r-release:, r-oldrel:
macOS binaries: r-prerel (arm64): WSGeometry_1.2.1.tgz, r-release (arm64): WSGeometry_1.2.1.tgz, r-oldrel (arm64): WSGeometry_1.2.1.tgz, r-prerel (x86_64): WSGeometry_1.2.1.tgz, r-release (x86_64): WSGeometry_1.2.1.tgz
Old sources: WSGeometry archive

Reverse dependencies:

Reverse suggests: transport


Please use the canonical form to link to this page.