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-x86_64)watson_1.0.0.zip(r-4.7-arm64)watson_1.0.0.zip(r-4.6-x86_64)watson_1.0.0.zip(r-4.6-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✨
DESCRIPTION |NEWS
card.svg |card.png
watson/json (API)

# 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 2 scripts 283 downloads 4 exports 3 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-arm64OK127
linux-devel-x86_64OK126
source / vignettesOK231
linux-release-arm64OK106
linux-release-x86_64OK124
windows-devel-arm64OK201
windows-devel-x86_64OK166
windows-release-arm64OK189
windows-release-x86_64OK131
wasm-releaseOK103

Exports:diam_clusidrmwatwatson

Dependencies:RcppRcppArmadilloTinflex