Package: rwig 0.1.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.1.0.tar.gz
rwig_0.1.0.zip(r-4.7)rwig_0.1.0.zip(r-4.6)rwig_0.1.0.zip(r-4.5)
rwig_0.1.0.tgz(r-4.6-x86_64)rwig_0.1.0.tgz(r-4.6-arm64)rwig_0.1.0.tgz(r-4.5-x86_64)rwig_0.1.0.tgz(r-4.5-arm64)
rwig_0.1.0.tar.gz(r-4.7-arm64)rwig_0.1.0.tar.gz(r-4.7-x86_64)rwig_0.1.0.tar.gz(r-4.6-arm64)rwig_0.1.0.tar.gz(r-4.6-x86_64)
rwig_0.1.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.64 score 1 stars 12 scripts 484 downloads 8 exports 16 dependencies

Last updated from:c9cdecf4cd. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK321
linux-devel-x86_64OK280
source / vignettesOK387
linux-release-arm64OK321
linux-release-x86_64OK281
macos-release-arm64OK117
macos-release-x86_64OK260
macos-oldrel-arm64OK133
macos-oldrel-x86_64OK457
windows-develOK183
windows-releaseOK177
windows-oldrelOK179
wasm-releaseOK183

Exports:barycentercheck_cudasinkhorntsvdwdlwdl_specswigwig_specs

Dependencies:clicpp11genericsISOcodeslubridateRcppRcppArmadilloRcppProgressRhpcBLASctlrlangSnowballCstopwordsstringitimechangetokenizersword2vec

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

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

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

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

Multi-threading Support
See Also | References

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

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