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.zip(r-4.7)watson_1.0.0.zip(r-4.6)watson_1.0.0.zip(r-4.5)
watson_1.0.0.tgz(r-4.6-x86_64)watson_1.0.0.tgz(r-4.6-arm64)watson_1.0.0.tgz(r-4.5-x86_64)watson_1.0.0.tgz(r-4.5-arm64)
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://lsablica.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

3.00 score 4 scripts 227 downloads 4 exports 3 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-arm64OK145
linux-devel-x86_64OK179
source / vignettesOK204
linux-release-arm64OK142
linux-release-x86_64OK167
macos-release-arm64OK167
macos-release-x86_64OK360
macos-oldrel-arm64OK153
macos-oldrel-x86_64OK450
windows-develOK144
windows-releaseOK136
windows-oldrelOK141
wasm-releaseOK114

Exports:diam_clusidrmwatwatson

Dependencies:RcppRcppArmadilloTinflex