The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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
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-release: rwig_0.1.0.zip, r-oldrel: rwig_0.1.0.zip
macOS binaries: r-release (arm64): rwig_0.1.0.tgz, r-oldrel (arm64): rwig_0.1.0.tgz, r-release (x86_64): rwig_0.1.0.tgz, r-oldrel (x86_64): rwig_0.1.0.tgz

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.