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.

Getting started

Package details

AuthorFlorian Heinemann [aut, cre], Nicholas Bonneel [ctb]
MaintainerFlorian Heinemann <>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the WSGeometry package in your browser

Any scripts or data that you put into this service are public.

WSGeometry documentation built on Dec. 15, 2021, 1:08 a.m.