Package: rwig 0.3.0

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>.

Authors:Fangzhou Xie [aut, cre, cph]

rwig_0.3.0.tar.gz
rwig_0.3.0.zip(r-4.7-x86_64)rwig_0.3.0.zip(r-4.7-arm64)rwig_0.3.0.zip(r-4.6-x86_64)rwig_0.3.0.zip(r-4.6-arm64)rwig_0.3.0.zip(r-4.5-x86_64)
rwig_0.3.0.tgz(r-4.6-x86_64)rwig_0.3.0.tgz(r-4.6-arm64)rwig_0.3.0.tgz(r-4.5-x86_64)rwig_0.3.0.tgz(r-4.5-arm64)
rwig_0.3.0.tar.gz(r-4.7-arm64)rwig_0.3.0.tar.gz(r-4.7-x86_64)rwig_0.3.0.tar.gz(r-4.6-arm64)rwig_0.3.0.tar.gz(r-4.6-x86_64)
rwig_0.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
rwig/json (API)

# Install 'rwig' in R:
install.packages('rwig', repos = c('https://fangzhou-xie.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/fangzhou-xie/rwig/issues

Pkgdown/docs site:https://fangzhou-xie.github.io

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
Datasets:
  • headlines - NYT headlines by economic policy uncertainty

On CRAN:

Conda:

openblascpp

5.88 score 1 stars 17 scripts 469 downloads 8 exports 10 dependencies

Last updated from:2ceedebd03. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK230
linux-devel-x86_64OK223
source / vignettesOK344
linux-release-arm64OK224
linux-release-x86_64OK222
macos-release-arm64OK111
macos-release-x86_64OK315
macos-oldrel-arm64OK108
macos-oldrel-x86_64OK377
windows-devel-arm64OK412
windows-devel-x86_64OK157
windows-release-arm64OK345
windows-release-x86_64OK132
windows-oldrel-x86_64OK106
wasm-releaseOK144

Exports:barycentercheck_cudasinkhorntsvdwdlwdl_specswigwig_specs

Dependencies:cliISOcodesRcppRcppProgressrlangSnowballCstopwordsstringitokenizersword2vec

Multi-threading Support
BLAS threads | See Also | References

Last update: 2026-09-19
Started: 2025-11-26

WDL and WIG Model Specs
wig_control | wdl_control | tokenizer_control | word2vec_control | barycenter_control | optimizer_control | See Also | References

Last update: 2026-09-19
Started: 2025-12-02

WDL Model
See Also | References

Last update: 2026-03-06
Started: 2025-11-28

WIG Model
See Also | References

Last update: 2026-03-06
Started: 2025-11-28

CUDA Acceleration

Last update: 2026-02-17
Started: 2026-02-17

Truncated SVD
References

Last update: 2026-02-17
Started: 2025-11-28

Barycenter Algorithms
Difference from sinkhorn() | See Also | Reference

Last update: 2025-12-02
Started: 2025-11-28

Computation of the Gradients
See Also | References

Last update: 2025-12-02
Started: 2025-11-28

Sinkhorn Algorithms
Get Started with Sinkhorn Algorithm | Vanilla, Log, and Auto Sinkhorn Algorithms | Gradient of Loss w.r.t. a | Other Control Parameters | Reference

Last update: 2025-12-02
Started: 2025-11-26