rwig: Wasserstein Index Generation (WIG) Model

Efficient implementation of several Optimal Transport algorithms in Fangzhou Xie (2025) <doi:10.48550/arXiv.2504.08722> and the Wasserstein Index Generation (WIG) model in Fangzhou Xie (2020) <doi:10.1016/j.econlet.2019.108874>.

Version: 0.1.0
Depends: R (≥ 4.2)
Imports: utils, stats, rlang, cli, lubridate, Rcpp, RhpcBLASctl, word2vec, tokenizers, stopwords
LinkingTo: Rcpp (≥ 1.0.8), RcppArmadillo (≥ 0.12.8.4.0)
Suggests: knitr, rmarkdown, tinytest
Published: 2026-04-21
DOI: 10.32614/CRAN.package.rwig (may not be active yet)
Author: Fangzhou Xie [aut, cre, cph]
Maintainer: Fangzhou Xie <fangzhou.xie at rutgers.edu>
BugReports: https://github.com/fangzhou-xie/rwig/issues
License: MIT + file LICENSE
URL: https://github.com/fangzhou-xie/rwig, https://fangzhou-xie.github.io/rwig/
NeedsCompilation: yes
SystemRequirements: autoconf, CUDA (> 13.0, only for Linux)
Materials: README, NEWS
CRAN checks: rwig results

Documentation:

Reference manual: rwig.html , rwig.pdf
Vignettes: Barycenter Algorithms (source, R code)
CUDA Acceleration (source, R code)
Computation of the Gradients (source, R code)
Sinkhorn Algorithms (source, R code)
WDL and WIG Model Specs (source, R code)
Multi-threading Support (source, R code)
Truncated SVD (source, R code)
WDL Model (source, R code)
WIG Model (source, R code)

Downloads:

Package source: rwig_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=rwig to link to this page.