Package: DirStats
Type: Package
Title: Nonparametric Methods for Directional Data
Version: 1.0.0
Date: 2026-11-11
Authors@R: person(given = "Eduardo", family = "García-Portugués",
                  role = c("aut", "cre"), email = "edgarcia@est-econ.uc3m.es",
                  comment = c(ORCID = "0000-0002-9224-4111"))
Description: Nonparametric kernel density estimation and bandwidth selection
    for directional data on the hypersphere S^q, q >= 1. Implements the kernel
    density estimator of Bai et al. (1988) <doi:10.1016/0047-259X(88)90113-3>
    in kde_dir(), the likelihood and least squares cross-validation bandwidth
    selectors of Hall et al. (1987) <doi:10.1093/biomet/74.4.751> in
    bw_dir_lcv() and bw_dir_lscv(), and the rule-of-thumb and plug-in
    selectors of García-Portugués (2013) <doi:10.1214/13-EJS821> in
    bw_dir_rot(), bw_dir_ami(), and bw_dir_emi(). Also fits mixtures of von
    Mises-Fisher distributions with bic_vmf_mix(), integrates on S^q, and
    provides fast stable evaluations of the log-Bessel function and the von
    Mises-Fisher normalizing constant for large orders and concentrations.
License: GPL-3
LazyData: true
Depends: R (>= 3.6.0)
Imports: Bessel, movMF
Suggests: rotasym, testthat (>= 3.0.0), viridisLite, withr
URL: https://github.com/egarpor/DirStats
BugReports: https://github.com/egarpor/DirStats/issues
Encoding: UTF-8
RoxygenNote: 7.3.3
Config/testthat/edition: 3
NeedsCompilation: no
Packaged: 2026-11-11 22:01:15 UTC; Eduardo
Author: Eduardo García-Portugués [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-9224-4111>)
Maintainer: Eduardo García-Portugués <edgarcia@est-econ.uc3m.es>
Repository: CRAN
Date/Publication: 2026-11-12 13:00:09 UTC
