Package: watson
Type: Package
Title: Fitting and Simulating Mixtures of Watson Distributions
Version: 1.0.0
Authors@R: c(
    person("Lukas", "Sablica", email = "lsablica@wu.ac.at", role = c("aut", "cre"),
           comment = c(ORCID = "0000-0001-9166-4563")), 
    person("Kurt", "Hornik", email = "Kurt.Hornik@wu.ac.at", role = "aut",
           comment = c(ORCID = "0000-0003-4198-9911")),
    person("Josef", "Leydold", email = "Josef.Leydold@wu.ac.at", role = "aut",
           comment = c(ORCID = "0000-0002-9076-4893")),
    person("Gerard", "Jungman", role = c("ctb","cph"), comment = "Author and copyright holder of included GNU GSL code"),
    person("Brian", "Gough", role = c("ctb","cph"), comment = "Author and copyright holder of included GNU GSL code")
  )
Maintainer: Lukas Sablica <lsablica@wu.ac.at>
Description: 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>.
License: GPL-3
Encoding: UTF-8
Imports: Rcpp (>= 0.12.18), Tinflex (>= 1.8)
LinkingTo: Rcpp, RcppArmadillo, Tinflex
URL: https://github.com/lsablica/watson
BugReports: https://github.com/lsablica/watson/issues
RoxygenNote: 7.3.3
Depends: R (>= 3.5.0)
Suggests: HSAUR3, testthat (>= 3.0.0)
Config/testthat/edition: 3
NeedsCompilation: yes
Packaged: 2026-01-17 21:29:34 UTC; lukas
Author: Lukas Sablica [aut, cre] (ORCID:
    <https://orcid.org/0000-0001-9166-4563>),
  Kurt Hornik [aut] (ORCID: <https://orcid.org/0000-0003-4198-9911>),
  Josef Leydold [aut] (ORCID: <https://orcid.org/0000-0002-9076-4893>),
  Gerard Jungman [ctb, cph] (Author and copyright holder of included GNU
    GSL code),
  Brian Gough [ctb, cph] (Author and copyright holder of included GNU GSL
    code)
Repository: CRAN
Date/Publication: 2026-01-18 00:30:02 UTC
Built: R 4.6.0; x86_64-apple-darwin20; 2026-04-27 05:18:43 UTC; unix
Archs: watson.so.dSYM
