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

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

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

TargetResultTimeFilesSyslog
linux-devel-arm64OK153
linux-devel-x86_64OK139
source / vignettesOK188
linux-release-arm64OK103
linux-release-x86_64OK124
macos-release-arm64OK130
macos-release-x86_64OK207
macos-oldrel-arm64OK104
macos-oldrel-x86_64OK342
windows-devel-arm64OK228
windows-devel-x86_64OK170
windows-release-arm64OK239
windows-release-x86_64OK142
windows-oldrel-x86_64OK121
wasm-releaseOK108

Exports:diam_clusidrmwatwatson

Dependencies:RcppRcppArmadilloTinflex