The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

DirStats: Nonparametric Methods for Directional Data

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.

Version: 1.0.0
Depends: R (≥ 3.6.0)
Imports: Bessel, movMF
Suggests: rotasym, testthat (≥ 3.0.0), viridisLite, withr
Published: 2026-11-12
DOI: 10.32614/CRAN.package.DirStats
Author: Eduardo García-Portugués ORCID iD [aut, cre]
Maintainer: Eduardo García-Portugués <edgarcia at est-econ.uc3m.es>
BugReports: https://github.com/egarpor/DirStats/issues
License: GPL-3
URL: https://github.com/egarpor/DirStats
NeedsCompilation: no
Citation: DirStats citation info
Materials: NEWS
CRAN checks: DirStats results

Documentation:

Reference manual: DirStats.html , DirStats.pdf

Downloads:

Package source: DirStats_1.0.0.tar.gz
Windows binaries: r-devel: DirStats_1.0.0.zip, r-release: DirStats_1.0.0.zip, r-oldrel: DirStats_1.0.0.zip
macOS binaries: r-release (arm64): DirStats_1.0.0.tgz, r-oldrel (arm64): DirStats_1.0.0.tgz, r-release (x86_64): DirStats_1.0.0.tgz, r-oldrel (x86_64): DirStats_1.0.0.tgz
Old sources: DirStats archive

Reverse dependencies:

Reverse imports: pgKDEsphere, polykde, rotasym
Reverse suggests: ridgetorus

Linking:

Please use the canonical form https://CRAN.R-project.org/package=DirStats to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.