Package: gridOT 1.0.2


Michel Groppe
gridOT: Approximate Optimal Transport Between Two-Dimensional Grids
Can be used for optimal transport between two-dimensional grids with respect to separable cost functions of l^p form. It utilizes the Frank-Wolfe algorithm to approximate so-called pivot measures: One-dimensional transport plans that fully describe the full transport, see G. Auricchio (2023) <doi:10.4171/RLM/1026>. For these, it offers methods for visualization and to extract the corresponding transport plans and costs. Additionally, related functions for one-dimensional optimal transport are available.
Authors:
gridOT_1.0.2.tar.gz
gridOT_1.0.2.tar.gz(r-4.7-arm64)gridOT_1.0.2.tar.gz(r-4.7-x86_64)gridOT_1.0.2.tar.gz(r-4.6-arm64)gridOT_1.0.2.tar.gz(r-4.6-x86_64)
gridOT_1.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
gridOT/json (API)
| # Install 'gridOT' in R: |
| install.packages('gridOT', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:c6d6dac8a4. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 147 | ||
| linux-devel-x86_64 | OK | 128 | ||
| source / vignettes | OK | 173 | ||
| linux-release-arm64 | OK | 139 | ||
| linux-release-x86_64 | OK | 137 | ||
| wasm-release | OK | 126 |
Exports:dual1dnorth_west_cornerotgridpivot_measuretransport_costtransport_costmattransport_df
Dependencies:RcppRcppArmadillo
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Dual Solution of one-dimensional Optimal Transport | dual1d |
| North-west-corner Rule | north_west_corner |
| Two-dimensional Grid with Mass | otgrid |
| Pivot Measure | pivot_measure pivot_measure.data.frame pivot_measure.otgrid |
| Plots for two-dimensional Optimal Transport | plot.otgrid plot.otgridtransport |
| Optimal Transport Cost | transport_cost transport_cost.data.frame transport_cost.numeric transport_cost.otgrid transport_cost.otgridtransport |
| Cost Matrix for two-dimensional Optimal Transport | transport_costmat transport_costmat.otgrid transport_costmat.otgridtransport |
| Optimal Transport Plan | transport_df transport_df.numeric transport_df.otgrid transport_df.otgridtransport |