Package: watson 1.0.0

Lukas Sablica

watson: Fitting and Simulating Mixtures of Watson Distributions

Tools for fitting and simulating mixtures of Watson distributions. The package is described in Sablica, Hornik and Leydold (2026) <doi:10.18637/jss.v115.i04>. The random sampling scheme of the package offers two sampling algorithms that are based of the results of Sablica, Hornik and Leydold (2022) <doi:10.1080/10618600.2024.2416521>. What is more, the package offers a smart tool to combine these two methods, and based on the selected parameters, it approximates the relative sampling speed for both methods and picks the faster one. In addition, the package offers a fitting function for the mixtures of Watson distribution, that uses the expectation-maximization (EM) algorithm. Special features are the possibility to use multiple variants of the E-step and M-step, sparse matrices for the data representation and state of the art methods for numerical evaluation of needed special functions using the results of Sablica and Hornik (2022) <doi:10.1090/mcom/3690> and Sablica and Hornik (2024) <doi:10.1016/j.jmaa.2024.128262>.

Authors:Lukas Sablica [aut, cre], Kurt Hornik [aut], Josef Leydold [aut], Gerard Jungman [ctb, cph], Brian Gough [ctb, cph]

watson_1.0.0.tar.gz
watson_1.0.0.tar.gz(r-4.7-arm64)watson_1.0.0.tar.gz(r-4.7-x86_64)watson_1.0.0.tar.gz(r-4.6-arm64)watson_1.0.0.tar.gz(r-4.6-x86_64)
watson_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
watson/json (API)
NEWS

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

Bug tracker:https://github.com/lsablica/watson/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

openblascppopenmp

1.00 score 4 scripts 244 downloads 4 exports 3 dependencies

Last updated from:0196fb2f5a. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK175
linux-devel-x86_64OK161
source / vignettesOK183
linux-release-arm64OK184
linux-release-x86_64OK166
wasm-releaseOK115

Exports:diam_clusidrmwatwatson

Dependencies:RcppRcppArmadilloTinflex